8000 DISABLED test_nonstrict_trace_pre_existing_custom_class_with_side_effects (__main__.DecoratorTests) · Issue #148056 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content
DISABLED test_nonstrict_trace_pre_existing_custom_class_with_side_effects (__main__.DecoratorTests) #148056
@pytorch-bot

Description

@pytorch-bot

Platforms: linux, mac, macos

This test was disabled because it is failing in CI. See recent examples and the most recent trunk workflow logs.

Over the past 3 hours, it has been determined flaky in 3 workflow(s) with 3 failures and 3 successes.

Debugging instructions (after clicking on the recent samples link):
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:

  1. Click on the workflow logs linked above
  2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
  3. Grep for test_nonstrict_trace_pre_existing_custom_class_with_side_effects
  4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.
Sample error message

Truncated for length

in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    
A3E2
treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1013, in helper
    children, context = flatten_fn(node)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1020, in tree_flatten
    treespec = helper(tree, leaves)
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in helper
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1016, in <listcomp>
    subspecs = [helper(child, leaves) for child in children]
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 1007, in helper
    if _is_leaf(node, is_leaf=is_leaf):
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 802, in _is_leaf
    return (is_leaf is not None and is_leaf(tree)) or _get_node_type(
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 795, in _get_node_type
    if _is_namedtuple_instance(tree):
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/utils/_pytree.py", line 786, in _is_namedtuple_instance
    if len(bases) != 1 or bases[0] != tuple:
  File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/_dynamo/polyfills/__init__.py", line 242, in cmp_ne
    if isinstance(type(a).__ne__, types.FunctionType):

Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information


To execute this test, run the following from the base repo dir:
    python test/dynamo/test_decorators.py DecoratorTests.test_nonstrict_trace_pre_existing_custom_class_with_side_effects

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0

Test file path: dynamo/test_decorators.py

cc @clee2000 @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames

Metadata

Metadata

Assignees

Labels

module: dynamomodule: flaky-testsProblem is a flaky test in CIoncall: pt2skippedDenotes a (flaky) test currently skipped in CI.triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0