Skip to content

Conversation

malfet
Copy link
Contributor

@malfet malfet commented Aug 1, 2020

Otherwise numba linking by clang-9 fails with:

ld: in /Users/distiller/workspace/miniconda3/lib/python3.7/site-packages/numpy/core/lib/libnpymath.a(npy_math.o), could not parse object file /Users/distiller/workspace/miniconda3/lib/python3.7/site-packages/numpy/core/lib/libnpymath.a(npy_math.o): 'Unknown attribute kind (61) (Producer: 'LLVM10.0.0' Reader: 'LLVM APPLE_1_902.0.39.2_0')', using libLTO version 'LLVM version 9.1.0, (clang-902.0.39.2)' for architecture x86_64

Because conda's numpy-1.19.1 is compiled with clang-10
This should fix MacOS regressions in CIrcleCI

Otherwise numba compilation by clang-9 fails with:
```
ld: in /Users/distiller/workspace/miniconda3/lib/python3.7/site-packages/numpy/core/lib/libnpymath.a(npy_math.o), could not parse object file /Users/distiller/workspace/miniconda3/lib/python3.7/site-packages/numpy/core/lib/libnpymath.a(npy_math.o): 'Unknown attribute kind (61) (Producer: 'LLVM10.0.0' Reader: 'LLVM APPLE_1_902.0.39.2_0')', using libLTO version 'LLVM version 9.1.0, (clang-902.0.39.2)' for architecture x86_64
```
@malfet malfet requested a review from ezyang August 1, 2020 15:41
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@malfet has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@dr-ci
Copy link

dr-ci bot commented Aug 1, 2020

💊 CI failures summary and remediations

As of commit 3ccfb05 (more details on the Dr. CI page):


  • 1/1 failures introduced in this PR

🕵️ 1 new failure recognized by patterns

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

See CircleCI build caffe2_onnx_ort2_py3_6_clang7_ubuntu16_04_test (1/1)

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

Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_inception FAILED [ 53%]
Aug 01 16:39:18 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_gru_unilayer_forward_with_initial_state_with_batch_first_sequence_lengths_without_dropout PASSED [ 51%] 
Aug 01 16:39:18 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_gru_unilayer_forward_with_initial_state_with_variable_length_sequences_with_dropout PASSED [ 51%] 
Aug 01 16:39:19 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_gru_unilayer_forward_with_initial_state_with_variable_length_sequences_without_dropout PASSED [ 51%] 
Aug 01 16:39:19 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_gru_unilayer_forward_with_initial_state_without_sequence_lengths_with_dropout PASSED [ 52%] 
Aug 01 16:39:19 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_gru_unilayer_forward_with_initial_state_without_sequence_lengths_without_dropout PASSED [ 52%] 
Aug 01 16:39:19 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_gt PASSED [ 52%] 
Aug 01 16:39:19 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_gt_scalar PASSED [ 52%] 
Aug 01 16:39:19 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_hardtanh PASSED [ 52%] 
Aug 01 16:39:19 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_hardtanh_script_with_default_values PASSED [ 53%] 
Aug 01 16:39:19 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_im2col SKIPPED [ 53%] 
Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_inception FAILED [ 53%] 
Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_index_1d PASSED [ 53%] 
Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_index_2d_1dimslice PASSED [ 53%] 
Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_index_2d_neg_slice PASSED [ 54%] 
Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_index_2d_sliceint PASSED [ 54%] 
Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_index_copy PASSED [ 54%] 
Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_index_fill PASSED [ 54%] 
Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_index_mask PASSED [ 55%] 
Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_index_put SKIPPED [ 55%] 
Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_index_put_accumulate SKIPPED [ 55%] 
Aug 01 16:39:36 test/onnx/test_pytorch_onnx_onnxruntime.py::TestONNXRuntime_opset10::test_index_put_ellipsis SKIPPED [ 55%] 

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 on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 1 time.

@facebook-github-bot
Copy link
Contributor

@malfet merged this pull request in 115d226.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants