OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

`make run` failed with `libcudart.so.12: cannot open shared object file`

Open functicons opened this issue 10 months ago • 12 comments

Describe the bug

make run failed with OSError: libcudart.so.12: cannot open shared object file: No such file or directory

Setup and configuration

Current version:

$ git log -n 1
commit baa981cda761907ae53419921e1aa5d8048d18d9 (HEAD -> main, upstream/main, origin/main, origin/HEAD)
Author: mashiro <[email protected]>
Date:   Thu Apr 4 21:44:07 2024 +0800

    fix: block input send event while ime composition (#701)
    
    * fix: trigger send event while ime composition & separate input element & disable input event while initializing
    
    * fix: eslint react plugin setting
    
    ---------
    
    Co-authored-by: Jim Su <[email protected]>

My config.toml and environment vars (be sure to redact API keys):

My model and agent (you can see these settings in the UI):

  • Model:
  • Agent:

Commands I ran to install and run OpenDevin:

make build
make run

Steps to Reproduce:

  1. make build
  2. make run

Logs, error messages, and screenshots:

$ make run Running the app... make[1]: Entering directory '/repo/github/functicons/OpenDevin' Starting backend... make[1]: Entering directory '/repo/github/functicons/OpenDevin' Starting frontend...

[email protected] start vite

VITE v5.2.8 ready in 519 ms

➜ Local: http://localhost:3001/ ➜ Network: use --host to expose Traceback (most recent call last): File "/.local/share/virtualenvs/OpenDevin-fz-TgslG/lib/python3.11/site-packages/torch/init.py", line 176, in _load_global_deps ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL) File "/usr/lib/python3.11/ctypes/init.py", line 376, in init self._handle = _dlopen(self._name, mode) ^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: libcudart.so.12: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/.local/share/virtualenvs/OpenDevin-fz-TgslG/bin/uvicorn", line 8, in sys.exit(main()) ^^^^^^ File "/.local/share/virtualenvs/OpenDevin-fz-TgslG/lib/python3.11/site-packages/click/core.py", line 1157, in call return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/.local/share/virtualenvs/OpenDevin-fz-TgslG/lib/python3.11/site-packages/click/core.py", line 1078, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/.local/share/virtualenvs/OpenDevin-fz-TgslG/lib/python3.11/site-packages/click/core.py", line 1434, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/.local/share/virtualenvs/OpenDevin-fz-TgslG/lib/python3.11/site-packages/click/core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/.local/share/virtualenvs/OpenDevin-fz-TgslG/lib/python3.11/site-packages/uvicorn/main.py", line 409, in main run( File "/.local/share/virtualenvs/OpenDevin-fz-TgslG/lib/python3.11/site-packages/uvicorn/main.py", line 575, in run server.run() File "/.local/share/virtualenvs/OpenDevin-fz-TgslG/lib/python3.11/site-packages/uvicorn/server.py", line 65, in run return asyncio.run(self.serve(sockets=sockets)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run return runner.run(main) ^^^^^^^^^^^^^^^^

Additional Context

functicons avatar Apr 04 '24 18:04 functicons