Skip to content

Torch Scatter with Pytorch 2.4.1 and Cu118 #6

Description

@tathya-ow

Hey Team,

I have been trying to install the MeshCoder for inference and for some reason torch scatter does not have the supported version on torch 2.4.1 and Cuda 11.8. I am wondering how did you guys manage to make it work as I am getting errror by using the given pip install torch-scatter -f https://data.pyg.org/whl/torch-2.4.1%2Bcu118.html, as you look closely while installing, the screenshot shows that torch-scatter uses torch 2.4.0 as the cached version.

Image

Could you help me figure my way out?

The error is

Traceback (mostrecentcalllast):
File"/mnt/o/share/Tathya/MeshCoder/recipes/inference/local_inference/custom_inference/inference_shape2code_point_input.py", line20, in<module>fromllama_recipes.custom_models.modules.shape_tokenizerimportShapeTokenizerFile"/mnt/o/share/Tathya/MeshCoder/src/llama_recipes/custom_models/modules/shape_tokenizer.py", line1, in<module>fromllama_recipes.custom_models.modules.pcd_proj.point_projectionimportPointTriplaneProjectorFile"/mnt/o/share/Tathya/MeshCoder/src/llama_recipes/custom_models/modules/pcd_proj/point_projection.py", line4, in<module>fromtorch_scatterimportscatter, scatter_mean, scatter_maxFile"/home/maint/miniforge3/envs/meshcoder/lib/python3.10/site-packages/torch_scatter/__init__.py", line16, in<module>torch.ops.load_library(spec.origin)
File"/home/maint/miniforge3/envs/meshcoder/lib/python3.10/site-packages/torch/_ops.py", line1295, inload_libraryctypes.CDLL(path)
File"/home/maint/miniforge3/envs/meshcoder/lib/python3.10/ctypes/__init__.py", line374, in__init__self._handle=_dlopen(self._name, mode)
OSError: /home/maint/miniforge3/envs/meshcoder/lib/python3.10/site-packages/torch_scatter/_version_cuda.so: undefinedsymbol: _ZN5torch3jit17parseSchemaOrNameERKSsb```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions