InternRobotics / InternRobotics/MeshCoder
Torch Scatter with Pytorch 2.4.1 and Cu118
まだ誰も着手していません。
- 主要言語
- Jupyter Notebook
- スター
- 534
- フォーク
- 29
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
Could you help me figure my way out?
The error is
Traceback (most recent call last):
File "/mnt/o/share/Tathya/MeshCoder/recipes/inference/local_inference/custom_inference/inference_shape2code_point_input.py", line 20, in <module>
from llama_recipes.custom_models.modules.shape_tokenizer import ShapeTokenizer
File "/mnt/o/share/Tathya/MeshCoder/src/llama_recipes/custom_models/modules/shape_tokenizer.py", line 1, in <module>
from llama_recipes.custom_models.modules.pcd_proj.point_projection import PointTriplaneProjector
File "/mnt/o/share/Tathya/MeshCoder/src/llama_recipes/custom_models/modules/pcd_proj/point_projection.py", line 4, in <module>
from torch_scatter import scatter, scatter_mean, scatter_max
File "/home/maint/miniforge3/envs/meshcoder/lib/python3.10/site-packages/torch_scatter/__init__.py", line 16, in <module>
torch.ops.load_library(spec.origin)
File "/home/maint/miniforge3/envs/meshcoder/lib/python3.10/site-packages/torch/_ops.py", line 1295, in load_library
ctypes.CDLL(path)
File "/home/maint/miniforge3/envs/meshcoder/lib/python3.10/ctypes/__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: /home/maint/miniforge3/envs/meshcoder/lib/python3.10/site-packages/torch_scatter/_version_cuda.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSsb```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
torch-scatter のインストールコマンドと src/llama_recipes/custom_models/modules/pcd_proj/point_projection.py の import から始め、recipes/inference/local_inference/custom_inference/inference_shape2code_point_input.py を実行して失敗を再現します。インストールされている PyTorch と torch-scatter のバージョンを、報告された未定義シンボルエラーと照合します。完了の条件は、torch_scatter の import が正常に行われ、推論のエントリーポイントが起動処理を先に進めることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, pytorch
- 領域
- build-system, machine-learning
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100