Commit 957d38df authored by limm's avatar limm
Browse files

Merge branch 'add_reade' into '0.6.15'

add README_hip.md

See merge request aicomponent/torch-sparce!6
parents da55cf9f a08e4a8a
# PyTorch Sparse
## 编译问题
### 编译torch_sparse==0.6.15 目前不支持torch2.1版本的torch,如果编译torch2.1版本的torch_sparse0.6.15版本需要修改一些代码
### 文件路径pytorch_sparse/csrc/version.cpp
```
static auto registry = torch::RegisterOperators().op("torch_sparse::cuda_version", &sparse::cuda_version); -> static auto registry = torch::RegisterOperators().op("torch_sparse::cuda_version", [] { return sparse::cuda_version(); });
```
# 注释:上述内容为README.md的补充。
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment