omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / evidence / omega-torch-m1 / mutant-const-length-tknum.log
| 1 | F..E |
| 2 | ====================================================================== |
| 3 | ERROR: test_mm (pytorch.tests.test_omega_torch.Ops.test_mm) |
| 4 | ---------------------------------------------------------------------- |
| 5 | Traceback (most recent call last): |
| 6 | File "<repo>/pytorch/tests/test_omega_torch.py", line 66, in test_mm |
| 7 | self.check(torch.mm, torch.randn(5, 7), torch.randn(7, 3), kernels=["mm"]) |
| 8 | File "<repo>/pytorch/tests/test_omega_torch.py", line 59, in check |
| 9 | got, want = run_both(fn, *args) |
| 10 | ^^^^^^^^^^^^^^^^^^^ |
| 11 | File "<repo>/pytorch/tests/test_omega_torch.py", line 32, in run_both |
| 12 | got = compiled(fn)(*args) |
| 13 | ^^^^^^^^^^^^^^^^^^^ |
| 14 | File "~/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py", line 1278, in compile_wrapper |
| 15 | raise e.remove_dynamo_frames() from None # see TORCHDYNAMO_VERBOSE=1 |
| 16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 17 | File "~/.venv/lib/python3.12/site-packages/torch/_dynamo/output_graph.py", line 3260, in _call_user_compiler |
| 18 | raise BackendCompilerFailed( |
| 19 | File "~/.venv/lib/python3.12/site-packages/torch/_dynamo/output_graph.py", line 3232, in _call_user_compiler |
| 20 | compiled_fn = compiler_fn(gm, example_inputs) |
| 21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 22 | File "~/.venv/lib/python3.12/site-packages/torch/_dynamo/repro/after_dynamo.py", line 163, in __call__ |
| 23 | compiled_gm = compiler_fn(gm, example_inputs) |
| 24 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 25 | File "~/.venv/lib/python3.12/site-packages/torch/__init__.py", line 3002, in __call__ |
| 26 | return self.compiler_fn(model_, inputs_, **self.kwargs) |
| 27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 28 | File "<repo>/pytorch/tests/../omega_torch/__init__.py", line 332, in omega |
| 29 | return aot_module_simplified(gm, example_inputs, fw_compiler=fw, |
| 30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 31 | File "~/.venv/lib/python3.12/site-packages/torch/_functorch/aot_autograd.py", line 1250, in aot_module_simplified |
| 32 | compiled_fn, _ = aot_stage2_compile( |
| 33 | ^^^^^^^^^^^^^^^^^^^ |
| 34 | File "~/.venv/lib/python3.12/site-packages/torch/_functorch/_aot_autograd/graph_compile.py", line 365, in aot_stage2_compile |
| 35 | return aot_stage2_inference( |
| 36 | ^^^^^^^^^^^^^^^^^^^^^ |
| 37 | File "~/.venv/lib/python3.12/site-packages/torch/_functorch/_aot_autograd/graph_compile.py", line 489, in aot_stage2_inference |
| 38 | compiled_fw = _aot_stage2b_inference_compile( |
| 39 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 40 | File "~/.venv/lib/python3.12/site-packages/torch/_functorch/_aot_autograd/graph_compile.py", line 416, in _aot_stage2b_inference_compile |
| 41 | return _aot_stage2b_compile_forward_or_inference( |
| 42 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 43 | File "~/.venv/lib/python3.12/site-packages/torch/_functorch/_aot_autograd/graph_compile.py", line 2843, in _aot_stage2b_compile_forward_or_inference |
| 44 | compiled_fw_func = compiler(fw_module, adjusted_flat_args) |
| 45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 46 | File "<repo>/pytorch/tests/../omega_torch/__init__.py", line 330, in fw |
| 47 | return _lower(g, inputs) |
| 48 | ^^^^^^^^^^^^^^^^^ |
| 49 | File "<repo>/pytorch/tests/../omega_torch/__init__.py", line 288, in _lower |
| 50 | compiled.append((kind, n, kernel, load_unit(kernel, consts, len(ins) + 1), ins, |
| 51 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 52 | File "<repo>/pytorch/tests/../omega_torch/__init__.py", line 134, in load_unit |
| 53 | raise OmegaRefused("src/native.om refused unit %s (exit %d)" % (kernel, rc)) |
| 54 | torch._dynamo.exc.BackendCompilerFailed: backend='omega' raised: |
| 55 | OmegaRefused: src/native.om refused unit mm (exit 110) |
| 56 | |
| 57 | Set TORCHDYNAMO_VERBOSE=1 for the internal stack trace (please do this especially if you're reporting a bug to PyTorch). For even more developer context, set TORCH_LOGS="+dynamo" |
| 58 | |
| 59 | |
| 60 | ====================================================================== |
| 61 | FAIL: test_const_f32_bound (pytorch.tests.test_omega_torch.Binding.test_const_f32_bound) |
| 62 | ---------------------------------------------------------------------- |
| 63 | Traceback (most recent call last): |
| 64 | File "<repo>/pytorch/tests/test_omega_torch.py", line 232, in test_const_f32_bound |
| 65 | self.assertEqual(rc, 0) |
| 66 | AssertionError: 110 != 0 |
| 67 | |
| 68 | ---------------------------------------------------------------------- |
| 69 | Ran 4 tests in 0.141s |
| 70 | |
| 71 | FAILED (failures=1, errors=1) |