pytorch_sparse
pytorch_sparse copied to clipboard
PyTorch Extension Library of Optimized Autograd Sparse Matrix Operations
https://github.com/rusty1s/pytorch_sparse/blob/master/torch_sparse/spspmm.py
Similar to https://github.com/rusty1s/pytorch_sparse/issues/94, the output of saint_subgraph has the same problem. ```python import torch from torch_sparse import SparseTensor import scipy.sparse as sp dim = 2000 a = sp.rand(dim, dim, density=0.01,...
It seems like pytorch_sparse issue: Traceback (most recent call last): File "preprocessing.py", line 142, in main() File "preprocessing.py", line 100, in main adj = get_adj(row, col, N, asymm_norm=args.undirected_asymm_norm, set_diag=args.undirected_set_diag, remove_diag=args.undirected_remove_diag)...
I tried to add two sparse tensors and failed with the error below. I am using pytorch 1.6.0 and pytorch_sparse 0.6.8 Here is a minimal example which reproduces my error:...
General bilinear operations take the form `x^T @ A @ y` where `A` is of shape (outdim, xdim, ydim). (See https://pytorch.org/docs/stable/generated/torch.nn.Bilinear.html). Currently, as far as I can tell, implementing this...
When I try to feed the cheb_conv with SparseTensor, I got the following errors: ``` x = self.model(x, sparse_adj_mat) File "/home/user/miniconda2/envs/myenvlib/python3.8/site-packages/torch/nn/modules/module.py", line 727, in _call_impl result = self.forward(*input, **kwargs) File...
I have a `SparseTensor` with value, how can extend `sample` method or some other function where the neighborhood sampling probability is based on the value of the `SparseTensor`.
when the cuda devices are invisible, my program runs well. but when the cuda devices are available, it reports the error ```python Traceback (most recent call last): File "/home/boltzmachine/THG/train.py", line...
Hi ! First, thank you for sharing your work! :-) I am interested in adding an ``out`` optional argument for the sparse-sparse multiplication function ``spspmm``. The user could for instance...
When I try to install `torch-sparse` using [Poetry](https://github.com/python-poetry/poetry), I'm getting the following error which occurs in `setup.py`: ``` ModuleNotFoundError: No module named 'torch' ``` The reason is that `torch-sparse` imports...