Repository navigation
Conversation
Summary: Valgrind have no insight how memory is being initialized by ioctls() Test Plan: CI Differential Revision: D20235974 fbshipit-source-id: c28610622c036a28ac5ed03037aeb86cb1191a3f
|
This pull request was exported from Phabricator. Differential Revision: D20235974 |
💊 CircleCI build failures summary and remediationsAs of commit 8b179ab (more details on the Dr. CI page):
🕵️ 4 new failures recognized by patternsThe following build failures do not appear to be due to upstream breakages (reran 4 jobs to discount flakiness):
|
|
This pull request has been merged in 9d1c971. |
Summary: Pull Request resolved: pytorch#34169 Valgrind have no insight how memory is being initialized by ioctls() Test Plan: CI Reviewed By: seemethere Differential Revision: D20235974 fbshipit-source-id: 46413afa4842e7d42582bbbda903438b1d98691f
Adds CUDA 13.4 CI ubuntu image and periodic tests, mirroring #161013 for CUDA 13.0. Since 13.4 shares the CUDA 13 major already exercised by 13.0 and 13.2, no ATen/c10/caffe2 source changes are needed: - a `pytorch-linux-jammy-cuda13.4-cudnn9-py3-gcc11` image in `build.sh`, - that image added to the `docker-builds` matrix so it is built and pushed, and - a `linux-jammy-cuda13.4-py3.10-gcc11` build+test pair in `periodic.yml` running `jit_legacy` on an sm_75 g4dn runner. Follow-up: The `nogpu_AVX512` and `nogpu_NO_AVX2` configs are left out for now. They run the cpp tests under valgrind, and CUDA 13.4's `libcufft.so.12.4.0.16` reads uninitialised values while initialising itself (`call_init`/`_dl_init`, before `main`). valgrind runs with `--error-exitcode=1`, so those reports fail the shard even though every frame is inside the closed-source library and no PyTorch code is involved: ``` ==132146== Conditional jump or move depends on uninitialised value(s) ==132146== at 0x2EED9C8A: ??? (in /usr/local/cuda-13.4/targets/x86_64-linux/lib/libcufft.so.12.4.0.16) ==132146== by 0x21FA0EA7: __pthread_once_slow (pthread_once.c:116) ==132146== by 0x400647D: call_init.part.0 (dl-init.c:70) ... ==132146== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 21 from 5) ``` All 7 gtest cases pass; only the valgrind exit code fails the shard. The cuda13.0 and cuda13.2 periodic jobs run these same configs and pass, so this is specific to 13.4. The configs can be restored once cuFFT stops reporting these, or once a `libcufft` suppression is added to `aten/tools/valgrind.sup` next to the existing `libcuda` ones (cf. #34169). Test Plan: Full validation is the docker-builds job building the new image, and the periodic linux-jammy-cuda13.4-py3.10-gcc11 build+test. Authored with assistance from an AI coding assistant (Claude). Pull Request resolved: #190639 Approved by: https://github.com/eqy, https://github.com/nWEIdia, https://github.com/atalman Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Adds CUDA 13.4 CI ubuntu image and periodic tests, mirroring pytorch#161013 for CUDA 13.0. Since 13.4 shares the CUDA 13 major already exercised by 13.0 and 13.2, no ATen/c10/caffe2 source changes are needed: - a `pytorch-linux-jammy-cuda13.4-cudnn9-py3-gcc11` image in `build.sh`, - that image added to the `docker-builds` matrix so it is built and pushed, and - a `linux-jammy-cuda13.4-py3.10-gcc11` build+test pair in `periodic.yml` running `jit_legacy` on an sm_75 g4dn runner. Follow-up: The `nogpu_AVX512` and `nogpu_NO_AVX2` configs are left out for now. They run the cpp tests under valgrind, and CUDA 13.4's `libcufft.so.12.4.0.16` reads uninitialised values while initialising itself (`call_init`/`_dl_init`, before `main`). valgrind runs with `--error-exitcode=1`, so those reports fail the shard even though every frame is inside the closed-source library and no PyTorch code is involved: ``` ==132146== Conditional jump or move depends on uninitialised value(s) ==132146== at 0x2EED9C8A: ??? (in /usr/local/cuda-13.4/targets/x86_64-linux/lib/libcufft.so.12.4.0.16) ==132146== by 0x21FA0EA7: __pthread_once_slow (pthread_once.c:116) ==132146== by 0x400647D: call_init.part.0 (dl-init.c:70) ... ==132146== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 21 from 5) ``` All 7 gtest cases pass; only the valgrind exit code fails the shard. The cuda13.0 and cuda13.2 periodic jobs run these same configs and pass, so this is specific to 13.4. The configs can be restored once cuFFT stops reporting these, or once a `libcufft` suppression is added to `aten/tools/valgrind.sup` next to the existing `libcuda` ones (cf. pytorch#34169). Test Plan: Full validation is the docker-builds job building the new image, and the periodic linux-jammy-cuda13.4-py3.10-gcc11 build+test. Authored with assistance from an AI coding assistant (Claude). Pull Request resolved: pytorch#190639 Approved by: https://github.com/eqy, https://github.com/nWEIdia, https://github.com/atalman Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Summary: Valgrind have no insight how memory is being initialized by ioctls()
Test Plan: CI
Differential Revision: D20235974