Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Dimension out of range in pixel_shuffle / pixel_unshuffle #54178

Merged
merged 1 commit into from
Mar 17, 2021

Conversation

jbschlosser
Copy link
Contributor

Fixes #54051

Problem was application of the unary minus operator to an unsigned type. Positive indices are now used to build the permutation array for both pixel_shuffle and pixel_unshuffle.

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Mar 17, 2021

💊 CI failures summary and remediations

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



🕵️ 3 new failures recognized by patterns

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

See CircleCI build pytorch_cpp_doc_build (1/3)

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

Mar 17 17:36:54 ERROR: Command errored out with exit status 128: git clone -q https://github.com/pytorch/pytorch_sphinx_theme.git /var/lib/jenkins/workspace/docs/cpp/src/pytorch-sphinx-theme Check the logs for full command output.
Mar 17 17:36:38 ++ python tools/setup_helpers/generate_code.py --declarations-path build/aten/src/ATen/Declarations.yaml --native-functions-path aten/src/ATen/native/native_functions.yaml --nn-path aten/src/
Mar 17 17:36:53 
Mar 17 17:36:53 real	0m14.830s
Mar 17 17:36:53 user	0m14.704s
Mar 17 17:36:53 sys	0m0.052s
Mar 17 17:36:53 ++ pushd docs/cpp
Mar 17 17:36:53 ++ pip install -r requirements.txt
Mar 17 17:36:53 ~/workspace/docs/cpp ~/workspace ~/workspace
Mar 17 17:36:54 Obtaining pytorch_sphinx_theme from git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme (from -r requirements.txt (line 4))
Mar 17 17:36:54   Cloning https://github.com/pytorch/pytorch_sphinx_theme.git to ./src/pytorch-sphinx-theme
Mar 17 17:36:54 ERROR: Command errored out with exit status 128: git clone -q https://github.com/pytorch/pytorch_sphinx_theme.git /var/lib/jenkins/workspace/docs/cpp/src/pytorch-sphinx-theme Check the logs for full command output.


Exited with code exit status 1

See CircleCI build pytorch_linux_bionic_py3_8_gcc9_coverage_test1 (2/3)

Step: "Set Up CI Environment After attach_workspace" (full log | diagnosis details | 🔁 rerun)

TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'�[0m
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/usr/share/python-wheels/requests-2.9.1-py2.py3-none-any.whl/requests/adapters.py", line 376, in send
    timeout=timeout
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 610, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/share/python-wheels/urllib3-1.13.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 228, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'�[0m
+ sudo pip -q install awscli==1.16.35
+ '[' -n '' ']'
+ sudo rm -rf /etc/apt/sources.list.d/nvidia-docker.list
+ add_to_env_file IN_CI=1
+ local content
+ content=IN_CI=1
+ echo IN_CI=1
+ add_to_env_file COMMIT_SOURCE=pull/54178
+ local content
+ content=COMMIT_SOURCE=pull/54178

See CircleCI build pytorch_linux_xenial_py3_clang7_onnx_build (3/3)

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

Mar 17 17:06:35 sccache: error: couldn't connect to server
Mar 17 17:06:35 +++ eval 'extract_trap_cmd '
Mar 17 17:06:35 ++++ extract_trap_cmd
Mar 17 17:06:35 ++++ printf '%s\n' ''
Mar 17 17:06:35 +++ printf '%s\n' cleanup
Mar 17 17:06:35 ++ trap -- '
Mar 17 17:06:35 cleanup' EXIT
Mar 17 17:06:35 ++ [[ pytorch-linux-xenial-py3-clang7-onnx-build != *pytorch-win-* ]]
Mar 17 17:06:35 ++ which sccache
Mar 17 17:06:35 ++ sccache --stop-server
Mar 17 17:06:35 Stopping sccache server...
Mar 17 17:06:35 sccache: error: couldn't connect to server
Mar 17 17:06:35 sccache: caused by: Connection refused (os error 111)
Mar 17 17:06:35 ++ true
Mar 17 17:06:35 ++ rm /var/lib/jenkins/sccache_error.log
Mar 17 17:06:35 rm: cannot remove '/var/lib/jenkins/sccache_error.log': No such file or directory
Mar 17 17:06:35 ++ true
Mar 17 17:06:35 ++ [[ pytorch-linux-xenial-py3-clang7-onnx-build == *rocm* ]]
Mar 17 17:06:35 ++ SCCACHE_ERROR_LOG=/var/lib/jenkins/sccache_error.log
Mar 17 17:06:35 ++ SCCACHE_IDLE_TIMEOUT=1200
Mar 17 17:06:35 ++ RUST_LOG=sccache::server=error
Mar 17 17:06:35 ++ sccache --start-server

3 failures not recognized by patterns:

Job Step Action
CircleCI pytorch_windows_vs2019_py36_cuda10.1_test2 Test 🔁 rerun
CircleCI pytorch_windows_vs2019_py36_cuda11.1_build Install Cuda 🔁 rerun
CircleCI binary_windows_libtorch_3_7_cpu_debug_build Build 🔁 rerun

❄️ 1 failure tentatively classified as flaky

but reruns have not yet been triggered to confirm:

See CircleCI build pytorch_linux_bionic_py3_8_gcc9_coverage_test2 (1/1)

Step: "Checkout code" (full log | diagnosis details | 🔁 rerun) ❄️

Receiving objects: 0% (1/524191) Receiving objects: 1% (5242/524191), 700.01 KiB | 1.33 MiB/s Receiving objects: 1% (7460/524191), 700.01 KiB | 1.33 MiB/s Receiving objects: 2% (10484/524191), 2.80 MiB | 1.84 MiB/s Receiving objects: 2% (11997/524191), 3.55 MiB | 1.74 MiB/s Receiving objects: 2% (15349/524191), 4.18 MiB | 1.63 MiB/s Receiving objects: 3% (15726/524191), 4.71 MiB | 1.53 MiB/s Receiving objects: 3% (18215/524191), 5.57 MiB | 1.29 MiB/s Receiving objects: 3% (19672/524191), 6.14 MiB | 1.20 MiB/s Receiving objects: 3% (20851/524191), 6.47 MiB | 1.13 MiB/s Receiving objects: 4% (20968/524191), 6.47 MiB | 1.13 MiB/s Receiving objects: 4% (21814/524191), 6.93 MiB | 820.00 KiB/s Receiving objects: 4% (22831/524191), 7.20 MiB | 603.00 KiB/s Receiving objects: 4% (23407/524191), 7.45 MiB | 433.00 KiB/s Receiving objects: 4% (24021/524191), 7.67 MiB | 328.00 KiB/s Receiving objects: 4% (24571/524191), 7.79 MiB | 265.00 KiB/s Receiving objects: 4% (25058/524191), 8.01 MiB | 217.00 KiB/s fatal: the remote end hung up unexpectedly
Using SSH Config Dir '/home/circleci/.ssh'
git version 2.27.0
Cloning git repository
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '140.82.114.3' to the list of known hosts.

remote: Enumerating objects: 523925        
remote: Enumerating objects: 266, done.        
remote: Counting objects:   0% (1/266)        
remote: Counting objects:   1% (3/266)        
remote: Counting objects:   2% (6/266)        
remote: Counting objects:   3% (8/266)        
remote: Counting objects:   4% (11/266)        
remote: Counting objects:   5% (14/266)        
remote: Counting objects:   6% (16/266)        
remote: Counting objects:   7% (19/266)        
remote: Counting objects:   8% (22/266)        
remote: Counting objects:   9% (24/266)        
remote: Counting objects:  10% (27/266)        
remote: Counting objects:  11% (30/266)        
remote: Counting objects:  12% (32/266)        
remote: Counting objects:  13% (35/266)        
remote: Counting objects:  14% (38/266)        
remote: Counting objects:  15% (40/266)        
remote: Counting objects:  16% (43/266)        
remote: Counting objects:  17% (46/266)        
remote: Counting objects:  18% (48/266)        
remote: Counting objects:  19% (51/266)        
remote: Counting objects:  20% (54/266)        
remote: Counting objects:  21% (56/266)        
remote: Counting objects:  22% (59/266)        
remote: Counting objects:  23% (62/266)        
remote: Counting objects:  24% (64/266)        
remote: Counting objects:  25% (67/266)        
remote: Counting objects:  26% (70/266)        
remote: Counting objects:  27% (72/266)        
remote: Counting objects:  28% (75/266)        
remote: Counting objects:  29% (78/266)        
remote: Counting objects:  30% (80/266)        
remote: Counting objects:  31% (83/266)        
remote: Counting objects:  32% (86/266)        
remote: Counting objects:  33% (88/266)        
remote: Counting objects:  34% (91/266)        
remote: Counting objects:  35% (94/266)        
remote: Counting objects:  36% (96/266)        
remote: Counting objects:  37% (99/266)        
remote: Counting objects:  38% (102/266)        
remote: Counting objects:  39% (104/266)        
remote: Counting objects:  40% (107/266)        
remote: Counting objects:  41% (110/266)        
remote: Counting objects:  42% (112/266)        
remote: Counting objects:  43% (115/266)        
remote: Counting objects:  44% (118/266)        
remote: Counting objects:  45% (120/266)        
remote: Counting objects:  46% (123/266)        
remote: Counting objects:  47% (126/266)        
remote: Counting objects:  48% (128/266)        
remote: Counting objects:  49% (131/266)        
remote: Counting objects:  50% (133/266)        
remote: Counting objects:  51% (136/266)        
remote: Counting objects:  52% (139/266)        
remote: Counting objects:  53% (141/266)        
remote: Counting objects:  54% (144/266)        
remote: Counting objects:  55% (147/266)        
remote: Counting objects:  56% (149/266)        
remote: Counting objects:  57% (152/266)        
remote: Counting objects:  58% (155/266)        
remote: Counting objects:  59% (157/266)        
remote: Counting objects:  60% (160/266)        
remote: Counting objects:  61% (163/266)        
remote: Counting objects:  62% (165/266)        
remote: Counting objects:  63% (168/266)        
remote: Counting objects:  64% (171/266)        
remote: Counting objects:  65% (173/266)        
remote: Counting objects:  66% (176/266)        
remote: Counting objects:  67% (179/266)        
remote: Counting objects:  68% (181/266)        
remote: Counting objects:  69% (184/266)        
remote: Counting objects:  70% (187/266)        
remote: Counting objects:  71% (189/266)        
remote: Counting objects:  72% (192/266)        
remote: Counting objects:  73% (195/266)        
remote: Counting objects:  74% (197/266)        
remote: Counting objects:  75% (200/266)        
remote: Counting objects:  76% (203/266)        
remote: Counting objects:  77% (205/266)        
remote: Counting objects:  78% (208/266)        
remote: Counting objects:  79% (211/266)        
remote: Counting objects:  80% (213/266)        
remote: Counting objects:  81% (216/266)        
remote: Counting objects:  82% (219/266)        
remote: Counting objects:  83% (221/266)        
remote: Counting objects:  84% (224/266)        
remote: Counting objects:  85% (227/266)        
remote: Counting objects:  86% (229/266)        
remote: Counting objects:  87% (232/266)        
remote: Counting objects:  88% (235/266)        
remote: Counting objects:  89% (237/266)        
remote: Counting objects:  90% (240/266)        
remote: Counting objects:  91% (243/266)        
remote: Counting objects:  92% (245/266)        
remote: Counting objects:  93% (248/266)        
remote: Counting objects:  94% (251/266)        
remote: Counting objects:  95% (253/266)        
remote: Counting objects:  96% (256/266)        
remote: Counting objects:  97% (259/266)        
remote: Counting objects:  98% (261/266)        
remote: Counting objects:  99% (264/266)        
remote: Counting objects: 100% (266/266)        
remote: Counting objects: 100% (266/266), done.        
remote: Compressing objects:   0% (1/193)        
remote: Compressing objects:   1% (2/193)        
remote: Compressing objects:   2% (4/193)        
remote: Compressing objects:   3% (6/193)        
remote: Compressing objects:   4% (8/193)        
remote: Compressing objects:   5% (10/193)        
remote: Compressing objects:   6% (12/193)        
remote: Compressing objects:   7% (14/193)        
remote: Compressing objects:   8% (16/193)        
remote: Compressing objects:   9% (18/193)        
remote: Compressing objects:  10% (20/193)        
remote: Compressing objects:  11% (22/193)        
remote: Compressing objects:  12% (24/193)        
remote: Compressing objects:  13% (26/193)        
remote: Compressing objects:  14% (28/193)        
remote: Compressing objects:  15% (29/193)        
remote: Compressing objects:  16% (31/193)        
remote: Compressing objects:  17% (33/193)        
remote: Compressing objects:  18% (35/193)        
remote: Compressing objects:  19% (37/193)        
remote: Compressing objects:  20% (39/193)        
remote: Compressing objects:  21% (41/193)        
remote: Compressing objects:  22% (43/193)        
remote: Compressing objects:  23% (45/193)        
remote: Compressing objects:  24% (47/193)        
remote: Compressing objects:  25% (49/193)        
remote: Compressing objects:  26% (51/193)        
remote: Compressing objects:  27% (53/193)        
remote: Compressing objects:  28% (55/193)        
remote: Compressing objects:  29% (56/193)        
remote: Compressing objects:  30% (58/193)        
remote: Compressing objects:  31% (60/193)        
remote: Compressing objects:  32% (62/193)        
remote: Compressing objects:  33% (64/193)        
remote: Compressing objects:  34% (66/193)        
remote: Compressing objects:  35% (68/193)        
remote: Compressing objects:  36% (70/193)        
remote: Compressing objects:  37% (72/193)        
remote: Compressing objects:  38% (74/193)        
remote: Compressing objects:  39% (76/193)        
remote: Compressing objects:  40% (78/193)        
remote: Compressing objects:  41% (80/193)        
remote: Compressing objects:  42% (82/193)        
remote: Compressing objects:  43% (83/193)        
remote: Compressing objects:  44% (85/193)        
remote: Compressing objects:  45% (87/193)        
remote: Compressing objects:  46% (89/193)        
remote: Compressing objects:  47% (91/193)        
remote: Compressing objects:  48% (93/193)        
remote: Compressing objects:  49% (95/193)        
remote: Compressing objects:  50% (97/193)        
remote: Compressing objects:  51% (99/193)        
remote: Compressing objects:  52% (101/193)        
remote: Compressing objects:  53% (103/193)        
remote: Compressing objects:  54% (105/193)        
remote: Compressing objects:  55% (107/193)        
remote: Compressing objects:  56% (109/193)        
remote: Compressing objects:  57% (111/193)        
remote: Compressing objects:  58% (112/193)        
remote: Compressing objects:  59% (114/193)        
remote: Compressing objects:  60% (116/193)        
remote: Compressing objects:  61% (118/193)        
remote: Compressing objects:  62% (120/193)        
remote: Compressing objects:  63% (122/193)        
remote: Compressing objects:  64% (124/193)        
remote: Compressing objects:  65% (126/193)        
remote: Compressing objects:  66% (128/193)        
remote: Compressing objects:  67% (130/193)        
remote: Compressing objects:  68% (132/193)        
remote: Compressing objects:  69% (134/193)        
remote: Compressing objects:  70% (136/193)        
remote: Compressing objects:  71% (138/193)        
remote: Compressing objects:  72% (139/193)        
remote: Compressing objects:  73% (141/193)        
remote: Compressing objects:  74% (143/193)        
remote: Compressing objects:  75% (145/193)        
remote: Compressing objects:  76% (147/193)        
remote: Compressing objects:  77% (149/193)        
remote: Compressing objects:  78% (151/193)        
remote: Compressing objects:  79% (153/193)        
remote: Compressing objects:  80% (155/193)        
remote: Compressing objects:  81% (157/193)        
remote: Compressing objects:  82% (159/193)        
remote: Compressing objects:  83% (161/193)        
remote: Compressing objects:  84% (163/193)        
remote: Compressing objects:  85% (165/193)        
remote: Compressing objects:  86% (166/193)        
remote: Compressing objects:  87% (168/193)        
remote: Compressing objects:  88% (170/193)        
remote: Compressing objects:  89% (172/193)        
remote: Compressing objects:  90% (174/193)        
remote: Compressing objects:  91% (176/193)        
remote: Compressing objects:  92% (178/193)        
remote: Compressing objects:  93% (180/193)        
remote: Compressing objects:  94% (182/193)        
remote: Compressing objects:  95% (184/193)        
remote: Compressing objects:  96% (186/193)        
remote: Compr
Receiving objects:   0% (1/524191)
Receiving objects:   1% (5242/524191), 700.01 KiB | 1.33 MiB/s
Receiving objects:   1% (7460/524191), 700.01 KiB | 1.33 MiB/s
Receiving objects:   2% (10484/524191), 2.80 MiB | 1.84 MiB/s 
Receiving objects:   2% (11997/524191), 3.55 MiB | 1.74 MiB/s
Receiving objects:   2% (15349/524191), 4.18 MiB | 1.63 MiB/s
Receiving objects:   3% (15726/524191), 4.71 MiB | 1.53 MiB/s
Receiving objects:   3% (18215/524191), 5.57 MiB | 1.29 MiB/s
Receiving objects:   3% (19672/524191), 6.14 MiB | 1.20 MiB/s
Receiving objects:   3% (20851/524191), 6.47 MiB | 1.13 MiB/s
Receiving objects:   4% (20968/524191), 6.47 MiB | 1.13 MiB/s
Receiving objects:   4% (21814/524191), 6.93 MiB | 820.00 KiB/s
Receiving objects:   4% (22831/524191), 7.20 MiB | 603.00 KiB/s
Receiving objects:   4% (23407/524191), 7.45 MiB | 433.00 KiB/s
Receiving objects:   4% (24021/524191), 7.67 MiB | 328.00 KiB/s
Receiving objects:   4% (24571/524191), 7.79 MiB | 265.00 KiB/s
Receiving objects:   4% (25058/524191), 8.01 MiB | 217.00 KiB/s
fatal: the remote end hung up unexpectedly


Too long with no output (exceeded 10m0s)

CONTAINER ID        NAME                CPU %               MEM USAGE / LIMIT   MEM %               NET I/O             BLOCK I/O           PIDS
/bin/bash: line 18: unbuffer: command not found
/bin/bash: line 18: ts: command not found


Exited with code exit status 127

ci.pytorch.org: 1 failed


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

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

@seemethere seemethere added this to the 1.8.1 milestone Mar 17, 2021
@seemethere seemethere merged commit d84e05b into pytorch:release/1.8 Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants