Skip to content

[torchlib] Implement aten::type_as #7498

[torchlib] Implement aten::type_as

[torchlib] Implement aten::type_as #7498

Triggered via pull request July 9, 2024 17:20
Status Success
Total duration 4m 8s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

38 warnings
Optional Lint: onnxscript/rewriter/onnxruntime/fused_matmul_rule_sets.py#L161
[misspell] reported by reviewdog 🐶 "introducting" is a misspelling of "introduction" Raw Output: ./onnxscript/rewriter/onnxruntime/fused_matmul_rule_sets.py:161:30: "introducting" is a misspelling of "introduction"
Optional Lint: onnxscript/onnx_opset/_impl/opset19.py#L1009
[misspell] reported by reviewdog 🐶 "modelled" is a misspelling of "modeled" Raw Output: ./onnxscript/onnx_opset/_impl/opset19.py:1009:43: "modelled" is a misspelling of "modeled"
Optional Lint: onnxscript/onnx_opset/_impl/opset16.py#L597
[misspell] reported by reviewdog 🐶 "modelled" is a misspelling of "modeled" Raw Output: ./onnxscript/onnx_opset/_impl/opset16.py:597:43: "modelled" is a misspelling of "modeled"
Optional Lint: onnxscript/function_libs/torch_lib/ops/core.py#L2937
[misspell] reported by reviewdog 🐶 "happends" is a misspelling of "happens" Raw Output: ./onnxscript/function_libs/torch_lib/ops/core.py:2937:11: "happends" is a misspelling of "happens"
Optional Lint: onnxscript/function_libs/torch_lib/ops/core.py#L3077
[misspell] reported by reviewdog 🐶 "happends" is a misspelling of "happens" Raw Output: ./onnxscript/function_libs/torch_lib/ops/core.py:3077:11: "happends" is a misspelling of "happens"
Optional Lint: onnxscript/function_libs/torch_lib/ops/core.py#L5567
[misspell] reported by reviewdog 🐶 "reconcilation" is a misspelling of "reconciliation" Raw Output: ./onnxscript/function_libs/torch_lib/ops/core.py:5567:49: "reconcilation" is a misspelling of "reconciliation"
Optional Lint: onnxscript/onnx_opset/_impl/opset11.py#L1586
[misspell] reported by reviewdog 🐶 "modelled" is a misspelling of "modeled" Raw Output: ./onnxscript/onnx_opset/_impl/opset11.py:1586:43: "modelled" is a misspelling of "modeled"
Optional Lint: onnxscript/onnx_opset/_impl/opset13.py#L1710
[misspell] reported by reviewdog 🐶 "modelled" is a misspelling of "modeled" Raw Output: ./onnxscript/onnx_opset/_impl/opset13.py:1710:43: "modelled" is a misspelling of "modeled"
Optional Lint: onnxscript/onnx_opset/_impl/opset1.py#L979
[misspell] reported by reviewdog 🐶 "foward" is a misspelling of "forward" Raw Output: ./onnxscript/onnx_opset/_impl/opset1.py:979:26: "foward" is a misspelling of "forward"
6 out of 22 runs failed: test_output_match_opinfo__var_unbiased_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__erfc_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__index_put_bool_cpu_int64 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__var_mean_unbiased_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__var_mean_dim_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 1s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 1s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 1s]
6 out of 22 runs failed: test_output_match_opinfo__floor_divide_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__var_correction_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__div_mode_floor_rounding_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__var_mean_correction_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
4 out of 22 runs failed: test_output_match_opinfo__matmul_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__index_put_bool_cpu_float32 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__index_put_bool_cpu_int32 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__ops_aten_embedding_bag_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 1s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 6s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 19s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 1s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 11s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 15s]
6 out of 22 runs failed: test_output_match_opinfo__var_dim_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 1s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 1s]
6 out of 22 runs failed: test_output_match_opinfo__index_put_bool_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
2 out of 22 runs failed: test_output_match_opinfo__topk_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__addmv_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyEagerCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
2 out of 22 runs failed: test_output_match_opinfo__topk_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU#L0
artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 1s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 1s]
6 out of 22 runs failed: test_output_match_opinfo__index_put_bool_cpu_int32 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__rsub_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 1s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 1s]
6 out of 22 runs failed: test_output_match_opinfo__sub_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 1s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__index_put_bool_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__index_put_bool_cpu_int64 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__index_put_bool_cpu_float32 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
4 out of 22 runs failed: test_output_match_opinfo__matmul_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU#L0
artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 1s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
6 out of 22 runs failed: test_output_match_opinfo__addmv_cpu_float16 (tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU): tests.function_libs.torch_lib.ops_test.TestOutputConsistencyFullGraphCPU#L0
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s] artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]