Pytorch Sparse Versions Save

PyTorch Extension Library of Optimized Autograd Sparse Matrix Operations

0.6.18

7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/rusty1s/pytorch_sparse/compare/0.6.17...0.6.18

0.6.17

1 year ago
  • PyTorch 2.0 support (#317)
  • Integrated faster index_sort in case pyg-lib is installed as well (#306)
  • Added a balance_edge option to the METIS graph partitioning algorithm (#309)
  • Added SparseTensor.to_torch_sparse_csc_tensor functionality (#319)

0.6.16

1 year ago
  • Fix spspmm on newer CUDA versions/GPUs
  • PyTorch 1.13 support
  • torch.bfloat16 support in spmm
  • Use faster hash-map routine in CPP code paths

0.6.15

1 year ago
  • Temporal sampling is now correctly performed in disjoint mode (#267)
  • Replace std::unordered_map with phmap::flat_hash_map for faster sampling (#266)
  • Neighborhood sampling on heterogeneous graphs is now fully-deterministic (#265)

0.6.14

1 year ago
  • Internal C++ method for sampling neighbors based on temporal constraints (#202, #225, #226)
  • Sampling operators now respect torch.manual_seed (#217)

0.6.13

2 years ago
  • SparseTensor: __eq__ functionality
  • SparseTensor: add functionality of two sparse matrices (#177)
  • SparseTensor: to_torch_csr_tensor and from_torch_csr_tensor functionality
  • SparseTensor: Allow indexing via np.array (#194)
  • SparseTensor: Skip unnecessary assertions and enable non-blocking data transfers (#195)
  • Allow loading of CPU wheels in a PyTorch CUDA installation

PyTorch 1.10 is now required.

0.6.12

2 years ago
  • (Internal) heterogeneous neighbor sampling support via torch.ops.torch_sparse.hetero_neighbor_sample
  • (Internal) heterogeneous graph transformer sampling support via torch.ops.torch_sparse.hgt_sample (thanks to @chantat)
  • Fixed a bug in set_diag in case SparseTensor does not hold any non-zero elements

0.6.11

2 years ago
  • Half-precision support (torch.half) for all operators in torch-sparse

0.6.10

2 years ago

This release brings PyTorch 1.9.0 and Python 3.9 support to torch-sparse.

Additional functionality

  • Added a check for row.max() < sparse_sizes[0] and col.max() < sparse_sizes[1] when creating a SparseTensor in order to avoid unexpected behavior (thanks to @Adam1679)
  • partition now supports the additional optional argument node_weight (thanks to @Spazierganger)

0.6.9

3 years ago
  • Reduced the size of shared library files
  • CUDA wheels can now also operate on CPU-only devices
  • spmm now supports torch.half
  • Added parallelization strategies for CPU functionalities
  • Fixed a bug in which sample_adj did not return a sparse matrix with sorted indices
  • Fixed a bug in spmm in case num_edges < num_nodes