mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
This PR addresses the discussion items in https://github.com/pytorch/pytorch/pull/111470#discussion_r1369008167, that is, - use weakref when storing tensors as keys, - add `storage_offset` to the key data, - and revise the description of the `TensorAsKey` utility. Pull Request resolved: https://github.com/pytorch/pytorch/pull/112076 Approved by: https://github.com/cpuhrsch ghstack dependencies: #112154 |
||
|---|---|---|
| .. | ||
| dlmc | ||
| __init__.py | ||
| benchmark_semi_structured_sparsity.py | ||
| README.md | ||
| spmm.py | ||
| spmv.py | ||
| test_csr.sh | ||
| triton_ops.py | ||
| utils.py | ||
#Sparse benchmarks
These sets of benchmarks are for the sparse matrix functionality. They exist for comparing the performance of sparse matrix routines such as SpMV between various sparse matrix formats and with other frameworks such as TensorFlow.