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

Demo application broken #28

Open
michaelprummer opened this issue Jun 4, 2024 · 1 comment
Open

Demo application broken #28

michaelprummer opened this issue Jun 4, 2024 · 1 comment

Comments

@michaelprummer
Copy link

Hello I would like to try your demo application but it seems to be broken:
https://huggingface.co/spaces/OpenShape/openshape-demo

When I open the demo there is an error:
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "/home/user/app/app.py", line 20, in
import openshape
File "/home/user/.cache/huggingface/hub/models--OpenShape--openshape-demo-support/snapshots/70dbc29fa30520cb78b4982de671f90600c08685/openshape/init.py", line 4, in
from .ppat_rgb import Projected, PointPatchTransformer
File "/home/user/.cache/huggingface/hub/models--OpenShape--openshape-demo-support/snapshots/70dbc29fa30520cb78b4982de671f90600c08685/openshape/ppat_rgb.py", line 5, in
from .pointnet_util import PointNetSetAbstraction
File "/home/user/.cache/huggingface/hub/models--OpenShape--openshape-demo-support/snapshots/70dbc29fa30520cb78b4982de671f90600c08685/openshape/pointnet_util.py", line 6, in
import dgl.geometry
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/init.py", line 16, in
from .backend import load_backend, backend_name
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/backend/init.py", line 109, in
load_backend(get_preferred_backend())
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/backend/init.py", line 43, in load_backend
from .._ffi.base import load_tensor_adapter # imports DGL C library
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/_ffi/base.py", line 45, in
_LIB, _LIB_NAME, _DIR_NAME = _load_lib()
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/site-packages/dgl/_ffi/base.py", line 35, in _load_lib
lib = ctypes.CDLL(lib_path[0])
File "/home/user/.pyenv/versions/3.10.14/lib/python3.10/ctypes/init.py", line 374, in init
self._handle = _dlopen(self._name, mode)

@eliphatfs
Copy link
Collaborator

huggingface updated the cuda version with no choice to keep the old version, and APIs are broken. we are looking into it but it may take some time.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants