blksprs 1.10__tar.gz → 1.10.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. {blksprs-1.10 → blksprs-1.10.1}/PKG-INFO +1 -1
  2. {blksprs-1.10 → blksprs-1.10.1}/blksprs/ops/conversion.py +5 -5
  3. {blksprs-1.10 → blksprs-1.10.1}/blksprs.egg-info/PKG-INFO +1 -1
  4. {blksprs-1.10 → blksprs-1.10.1}/pyproject.toml +1 -1
  5. {blksprs-1.10 → blksprs-1.10.1}/README.md +0 -0
  6. {blksprs-1.10 → blksprs-1.10.1}/blksprs/__init__.py +0 -0
  7. {blksprs-1.10 → blksprs-1.10.1}/blksprs/layouting/distribution_layout.py +0 -0
  8. {blksprs-1.10 → blksprs-1.10.1}/blksprs/layouting/sparsity_layout.py +0 -0
  9. {blksprs-1.10 → blksprs-1.10.1}/blksprs/ops/distribution.py +0 -0
  10. {blksprs-1.10 → blksprs-1.10.1}/blksprs/ops/flow.py +0 -0
  11. {blksprs-1.10 → blksprs-1.10.1}/blksprs/ops/matmul.py +0 -0
  12. {blksprs-1.10 → blksprs-1.10.1}/blksprs/ops/misc/broadcast_ops.py +0 -0
  13. {blksprs-1.10 → blksprs-1.10.1}/blksprs/ops/misc/exp.py +0 -0
  14. {blksprs-1.10 → blksprs-1.10.1}/blksprs/ops/misc/row_wise.py +0 -0
  15. {blksprs-1.10 → blksprs-1.10.1}/blksprs/ops/partitioning.py +0 -0
  16. {blksprs-1.10 → blksprs-1.10.1}/blksprs/ops/repeat.py +0 -0
  17. {blksprs-1.10 → blksprs-1.10.1}/blksprs/ops/softmax.py +0 -0
  18. {blksprs-1.10 → blksprs-1.10.1}/blksprs/ops/transpose.py +0 -0
  19. {blksprs-1.10 → blksprs-1.10.1}/blksprs/utils/benchmarking.py +0 -0
  20. {blksprs-1.10 → blksprs-1.10.1}/blksprs/utils/blksprs_tensor.py +0 -0
  21. {blksprs-1.10 → blksprs-1.10.1}/blksprs/utils/layout_utils.py +0 -0
  22. {blksprs-1.10 → blksprs-1.10.1}/blksprs/utils/processing.py +0 -0
  23. {blksprs-1.10 → blksprs-1.10.1}/blksprs/utils/tools.py +0 -0
  24. {blksprs-1.10 → blksprs-1.10.1}/blksprs/utils/validation.py +0 -0
  25. {blksprs-1.10 → blksprs-1.10.1}/blksprs.egg-info/SOURCES.txt +0 -0
  26. {blksprs-1.10 → blksprs-1.10.1}/blksprs.egg-info/dependency_links.txt +0 -0
  27. {blksprs-1.10 → blksprs-1.10.1}/blksprs.egg-info/requires.txt +0 -0
  28. {blksprs-1.10 → blksprs-1.10.1}/blksprs.egg-info/top_level.txt +0 -0
  29. {blksprs-1.10 → blksprs-1.10.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: blksprs
3
- Version: 1.10
3
+ Version: 1.10.1
4
4
  Summary: A lightweight library for operations on blocksparse matrices in PyTorch.
5
5
  Author-email: Felix Schön <schoen@kr.tuwien.ac.at>
6
6
  Project-URL: Homepage, https://github.com/FelixSchoen/blksprs
@@ -52,12 +52,12 @@ def to_dense(x: BlksprsTensor, sparsity_layout: Tensor, sparsity_block_size: int
52
52
  validate_contiguous(sparsity_reverse_lut)
53
53
 
54
54
  if sparsity_layout.size(1) == 1 and sparsity_layout.size(2) == 1 and torch.all(sparsity_layout):
55
- return BlksprsTensor(x)
55
+ return x
56
56
 
57
- return BlksprsTensor(_BlocksparseToDense.apply(x,
58
- sparsity_layout, sparsity_reverse_lut,
59
- sparsity_block_size, fill_value,
60
- triton_block_size))
57
+ return _BlocksparseToDense.apply(x,
58
+ sparsity_layout, sparsity_reverse_lut,
59
+ sparsity_block_size, fill_value,
60
+ triton_block_size)
61
61
 
62
62
 
63
63
  class _BlocksparseToDense(torch.autograd.Function):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: blksprs
3
- Version: 1.10
3
+ Version: 1.10.1
4
4
  Summary: A lightweight library for operations on blocksparse matrices in PyTorch.
5
5
  Author-email: Felix Schön <schoen@kr.tuwien.ac.at>
6
6
  Project-URL: Homepage, https://github.com/FelixSchoen/blksprs
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "blksprs"
3
- version = "1.10"
3
+ version = "1.10.1"
4
4
  authors = [{ name = "Felix Schön", email = "schoen@kr.tuwien.ac.at" }]
5
5
  description = "A lightweight library for operations on blocksparse matrices in PyTorch."
6
6
  readme = "README.md"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes