8000 DISABLED test_full_dtype (__main__.TestFull) · Issue #138574 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

DISABLED test_full_dtype (__main__.TestFull) #138574

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

Open
pytorch-bot bot opened this issue Oct 22, 2024 · 7 comments
Open

DISABLED test_full_dtype (__main__.TestFull) #138574

pytorch-bot bot opened this issue Oct 22, 2024 · 7 comments
Labels
module: flaky-tests Problem is a flaky test in CI module: inductor module: macos Mac OS related issues oncall: pt2 skipped Denotes a (flaky) test currently skipped in CI. triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@pytorch-bot
Copy link
pytorch-bot bot commented Oct 22, 2024

Platforms: 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 6 workflow(s) with 12 failures and 6 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_full_dtype
  4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.
Sample error message
Traceback (most recent call last):
  File "/Users/ec2-user/runner/_work/pytorch/pytorch/test/inductor/test_torchinductor.py", line 12639, in test_full_dtype
    ret_opt = fn_opt(pytype, dtype)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/eval_frame.py", line 550, in _fn
    return fn(*args, **kwargs)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/convert_frame.py", line 1364, in __call__
    return self._torchdynamo_orig_callable(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/convert_frame.py", line 1155, in __call__
    result = self._inner_convert(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/convert_frame.py", line 544, in __call__
    return _compile(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/convert_frame.py", line 964, in _compile
    guarded_code = compile_inner(code, one_graph, hooks, transform)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/convert_frame.py", line 695, in compile_inner
    return _compile_inner(code, one_graph, hooks, transform)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_utils_internal.py", line 95, in wrapper_function
    return function(*args, **kwargs)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/convert_frame.py", line 728, in _compile_inner
    out_code = transform_code_object(code, transform)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/bytecode_transformation.py", line 1337, in transform_code_object
    transformations(instructions, code_options)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/convert_frame.py", line 229, in _fn
    return fn(*args, **kwargs)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/convert_frame.py", line 657, in transform
    tracer.run()
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/symbolic_convert.py", line 2887, in run
    super().run()
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/symbolic_convert.py", line 1095, in run
    while self.step():
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/symbolic_convert.py", line 1007, in step
    self.dispatch_table[inst.opcode](self, inst)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/symbolic_convert.py", line 3078, in RETURN_VALUE
    self._return(inst)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/symbolic_convert.py", line 3063, in _return
    self.output.compile_subgraph(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/output_graph.py", line 1131, in compile_subgraph
    self.compile_and_call_fx_graph(tx, list(reversed(stack_values)), root)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/output_graph.py", line 1400, in compile_and_call_fx_graph
    compiled_fn = self.call_user_compiler(gm)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/output_graph.py", line 1447, in call_user_compiler
    return self._call_user_compiler(gm)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/output_graph.py", line 1496, in _call_user_compiler
    raise BackendCompilerFailed(self.compiler_fn, e).with_traceback(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/output_graph.py", line 1477, in _call_user_compiler
    compiled_fn = compiler_fn(gm, self.example_inputs())
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/repro/after_dynamo.py", line 130, in __call__
    compiled_gm = compiler_fn(gm, example_inputs)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/backends/inductor.py", line 12, in inductor
    return compile_fx(*args, **kwargs)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/compile_fx.py", line 1655, in compile_fx
    return aot_autograd(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/backends/common.py", line 72, in __call__
    cg = aot_module_simplified(gm, example_inputs, **self.kwargs)
  File "/Users/ec2-user/runner/_work/_temp/conda_environm
8000
ent_11453819042/lib/python3.9/site-packages/torch/_functorch/aot_autograd.py", line 1087, in aot_module_simplified
    compiled_fn = dispatch_and_compile()
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_functorch/aot_autograd.py", line 1063, in dispatch_and_compile
    compiled_fn, _ = create_aot_dispatcher_function(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_functorch/aot_autograd.py", line 524, in create_aot_dispatcher_function
    return _create_aot_dispatcher_function(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_functorch/aot_autograd.py", line 762, in _create_aot_dispatcher_function
    compiled_fn, fw_metadata = compiler_fn(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_functorch/_aot_autograd/jit_compile_runtime_wrappers.py", line 196, in aot_dispatch_base
    compiled_fw = compiler(fw_module, updated_flat_args)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/compile_fx.py", line 1474, in fw_compiler_base
    return _fw_compiler_base(model, example_inputs, is_inference)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/compile_fx.py", line 1545, in _fw_compiler_base
    return inner_compile(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/compile_fx.py", line 548, in compile_fx_inner
    return wrap_compiler_debug(_compile_fx_inner, compiler_name="inductor")(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_dynamo/repro/after_aot.py", line 100, in debug_wrapper
    inner_compiled_fn = compiler_fn(gm, example_inputs)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/compile_fx.py", line 700, in _compile_fx_inner
    compiled_graph = FxGraphCache.load(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/codecache.py", line 1475, in load
    compiled_graph = compile_fx_fn(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/compile_fx.py", line 611, in codegen_and_compile
    compiled_graph = fx_codegen_and_compile(gm, example_inputs, **fx_kwargs)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/compile_fx.py", line 921, in fx_codegen_and_compile
    compiled_fn = graph.compile_to_fn()
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/graph.py", line 2013, in compile_to_fn
    return self.compile_to_module().call
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/graph.py", line 1935, in compile_to_module
    return self._compile_to_module()
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/graph.py", line 1967, in _compile_to_module
    mod = PyCodeCache.load_by_key_path(
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/codecache.py", line 3009, in load_by_key_path
    mod = _reload_python_module(key, path)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/runtime/compile_tasks.py", line 45, in _reload_python_module
    exec(code, mod.__dict__, mod.__dict__)
  File "/var/folders/bm/fnn3xd1d39lcpbxrgwys1c140000gn/T/tmpfsdcyzgy/ly/clyn66fxjbs3vshavviwicbdhfpinugbmzots3obrm2zijjmfijc.py", line 50, in <module>
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/async_compile.py", line 302, in wait
    scope[key] = result.result()
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/codecache.py", line 3488, in result
    return self.result_fn()
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/codecache.py", line 2510, in future
    result = get_result()
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/codecache.py", line 2300, in load_fn
    future.result()
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/concurrent/futures/_base.py", line 446, in result
    return self.__get_result()
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result
    raise self._exception
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/codecache.py", line 2341, in _worker_compile_cpp
    cpp_builder.build()
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/cpp_builder.py", line 1526, in build
    status = run_compile_cmd(build_cmd, cwd=_build_tmp_dir)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/cpp_builder.py", line 350, in run_compile_cmd
    return _run_compile_cmd(cmd_line, cwd)
  File "/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/_inductor/cpp_builder.py", line 344, in _run_compile_cmd
    raise exc.CppCompileError(cmd, output) from e
torch._dynamo.exc.BackendCompilerFailed: backend='inductor' raised:
CppCompileError: C++ compile error

Command:
clang++ /var/folders/bm/fnn3xd1d39lcpbxrgwys1c140000gn/T/tmpfsdcyzgy/g3/cg3celq6znuldepm32pw7gahfkbubhbe24fvwshwvms47bvlleoh.cpp -D TORCH_INDUCTOR_CPP_WRAPPER -D STANDALONE_TORCH_HEADER -D C10_USING_CUSTOM_GENERATED_MACROS -D CPU_CAPABILITY_NEON -D AT_BUILD_ARM_VEC256_WITH_SLEEF -shared -fPIC -undefined dynamic_lookup -O3 -DNDEBUG -fno-trapping-math -funsafe-math-optimizations -ffinite-math-only -fno-signed-zeros -fno-math-errno -fno-finite-math-only -fno-unsafe-math-optimizations -ffp-contract=off -Wall -std=c++17 -Wno-unused-variable -Wno-unknown-pragmas -Werror=ignored-optimization-argument -Xclang -fopenmp -I/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/include/python3.9 -I/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/include/python3.9 -I/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/include -I/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/include/TH -I/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/include/THC -I/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/include -I/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/include -I/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/include/torch/csrc/api/include -I/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/include/TH -I/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/include/THC -D_GLIBCXX_USE_CXX11_ABI=0 -lomp -L/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib -L/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/lib -L/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib -L/Users/ec2-user/runner/_work/_temp/conda_environment_11453819042/lib/python3.9/site-packages/torch/lib -o /var/folders/bm/fnn3xd1d39lcpbxrgwys1c140000gn/T/tmpfsdcyzgy/g3/cg3celq6znuldepm32pw7gahfkbubhbe24fvwshwvms47bvlleoh.so

Output:


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


You can suppress this exception and fall back to eager by setting:
    import torch._dynamo
    torch._dynamo.config.suppress_errors = True


To execute this test, run the following from the base repo dir:
    python test/inductor/test_torchinductor.py TestFull.test_full_dtype

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0

Test file path: inductor/test_torchinductor.py

cc @clee2000 @malfet @albanD @ezyang @chauhang @penguinwu @voznesenskym @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @aakhundov

@pytorch-bot pytorch-bot bot added module: flaky-tests Problem is a flaky test in CI module: inductor module: macos Mac OS related issues skipped Denotes a (flaky) test currently skipped in CI. triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module oncall: pt2 labels Oct 22, 2024
Copy link
Author
pytorch-bot bot commented Oct 22, 2024
Hello there! From the DISABLED prefix in this issue title, it looks like you are attempting to disable a test in PyTorch CI. The information I have parsed is below:
  • Test name: test_full_dtype (__main__.TestFull)
  • Platforms for which to skip the test: mac, macos
  • Disabled by pytorch-bot[bot]

Within ~15 minutes, test_full_dtype (__main__.TestFull) will be disabled in PyTorch CI for these platforms: mac, macos. Please verify that your test name looks correct, e.g., test_cuda_assert_async (__main__.TestCuda).

To modify the platforms list, please include a line in the issue body, like below. The default action will disable the test for all platforms if no platforms list is specified.

Platforms: case-insensitive, list, of, platforms

We currently support the following platforms: asan, dynamo, inductor, linux, mac, macos, rocm, slow, win, windows.

How to re-enable a test

To re-enable the test globally, close the issue. To re-enable a test for only a subset of platforms, remove the platforms from the list in the issue body. This may take some time to propagate. To re-enable a test only for a PR, put Fixes #138574 in the PR body and rerun the test jobs. Note that if a test is flaky, it maybe be difficult to tell if the test is still flaky on the PR.

Copy link
Author
pytorch-bot bot commented Oct 22, 2024

Another case of trunk flakiness has been found here. The list of platforms [mac, macos] appears to contain all the recently affected platforms [mac, macos]. Either the change didn't propogate fast enough or disable bot might be broken.

Copy link
Author
pytorch-bot bot commented Nov 5, 2024

Resolving the issue because the test is not flaky anymore after 400 reruns without any failures and the issue hasn't been updated in 14 days. Please reopen the issue to re-disable the test if you think this is a false positive

@pytorch-bot pytorch-bot bot closed this as completed Nov 5, 2024
Copy link
Author
pytorch-bot bot commented Nov 5, 2024

Another case of trunk flakiness has been found here. Reopening issue. The list of platforms [mac, macos] appears to contain all the recently affected platforms [mac, macos].

@pytorch-bot pytorch-bot bot reopened this Nov 5, 2024
Copy link
Author
pytorch-bot bot commented Nov 6, 2024

Another case of trunk flakiness has been found here. The list of platforms [mac, macos] appears to contain all the recently affected platforms [mac, macos]. Either the change didn't propogate fast enough or disable bot might be broken.

Copy link
Author
pytorch-bot bot commented Jan 15, 2025

Resolving the issue because the test is not flaky anymore after 250 reruns without any failures and the issue hasn't been updated in 14 days. Please reopen the issue to re-disable the test if you think this is a false positive

@pytorch-bot pytorch-bot bot closed this as completed Jan 15, 2025
Copy link
Author
pytorch-bot bot commented May 16, 2025

Another case of trunk flakiness has been found here. Reopening issue. The list of platforms [mac, macos] appears to contain all the recently affected platforms [mac, macos].

@pytorch-bot pytorch-bot bot reopened this May 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: flaky-tests Problem is a flaky test in CI module: inductor module: macos Mac OS related issues oncall: pt2 skipped Denotes a (flaky) test currently skipped in CI. triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

0 participants
0