pytorch core test failure: LLVM ERROR: Broken function found, compilation aborted!
See original GitHub issueRepro:
PYTORCH_TEST_WITH_INDUCTOR=1 python test/test_torch.py -k test_nondeterministic_alert_grid_sample_2d_cuda
Error:
due to:
Traceback (most recent call last):
File "/fsx/users/binbao/torchdynamo-tip/torchdynamo/variables/tensor.py", line 283, in create
assert (
AssertionError: torch.* op returned non-Tensor bool call_function <built-in function _cuda_isInBadFork>
from user code:
File "/fsx/users/binbao/pytorch/torch/random.py", line 39, in manual_seed
if not torch.cuda._is_in_bad_fork():
Set torchdynamo.config.verbose=True for more information
==========
Operand is null
%7 = call float @__nv_floorf(<null operand!>)
in function kernel_0d1
LLVM ERROR: Broken function found, compilation aborted!
Aborted (core dumped)
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
LLVM ERROR: Broken function found, compilation aborted ...
I get LLVM ERROR: Broken function found, compilation aborted! when including Base.precompile(Tuple{typeof(Base.permutedims), Array{Bool, 3}, ...
Read more >LLVM ERROR: Broken function found, compilation aborted ...
The solution for me was just in info.plist change Swift Compiler Code Generation -> Optimization level -> Debug -> change all to None[-Onone]....
Read more >[llvm-dev] LLVM ERROR: Broken module found, compilation ...
LLVM ERROR : Broken module found, compilation aborted! clang-6.0: error: Xtensa-ld command failed with exit code 1 (use -v to see invocation).
Read more >LLVM ERROR: Broken function found, compilation aborted!
Looking at BuddyBuild's logs I found the error message that was causing the build to fail: Cannot allocate unsized type %partial-apply.context = ...
Read more >LLVM ERROR: Broken module found, compilation aborted!
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Though perhaps we shouldn’t be inlining in
manual_seed()
and just capture it in the graph.Close in favor of https://github.com/pytorch/torchdynamo/issues/1772