Torch-sparse

Latest version: v0.6.18

Safety actively analyzes 682441 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.6.12

* (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

* Half-precision support (`torch.half`) for all operators in `torch-sparse`

0.6.10

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

* 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`

0.6.8

Fixed a minor bug that caused `torch-sparse` to crash in PyTorch 1.7.0.

0.6.7

* PyTorch 1.6.0 wheels
* Fixed a bug for reductions in `dim=0`
* Fixed a bug in which PyTorch warnings were not displayed when importing `torch-sparse`

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.