Skip to content

Releases: zasdfgbnm/TorchSnooper

TorchSnooper v0.8

31 Dec 05:12
e49034c
Compare
Choose a tag to compare
  • Add support for named tensor.

TorchSnooper v0.7.1

09 Sep 02:57
bd0652d
Compare
Choose a tag to compare

Remove f-string to improve compatibility on older python 3.

TorchSnooper v0.7

08 Aug 18:57
95e179a
Compare
Choose a tag to compare

Improve support for integral and boolean tensors: On some versions of PyTorch torch.isinf and torch.isnan does not support integral or boolean tensor well, this leads to REPR FAIL in TorchSnooper. This problem is fixed in this version.

TorchSnooper v0.6.1

10 Jul 05:27
f503aab
Compare
Choose a tag to compare

The output of snoop verbose mode is improved

TorchSnooper v0.6

10 Jul 01:55
2ec0ec8
Compare
Choose a tag to compare

Add snoop support.

TorchSnooper v0.5

05 Jul 23:48
be3ce93
Compare
Choose a tag to compare

TorchSnooper now reports nan and inf when detected.

TorchSnooper v0.4.1

02 Jul 00:02
a5d28a5
Compare
Choose a tag to compare

Add a long description as README.md

TorchSnooper v0.4

01 Jul 23:06
f322faa
Compare
Choose a tag to compare

Add simple support for the representation of numpy.ndarray.

TorchSnooper v0.3

28 Jun 18:54
208f3b6
Compare
Choose a tag to compare

Containers are now represented recursively.

Example code:

import torch
import torchsnooper

@torchsnooper.snoop()
def f():
    return [{'key': torch.zeros(5, 6, 7)}]

f()

Output from TorchSnooper v0.2

14:17:49.646680 call         5 def f():
14:17:49.646778 line         6     return [{'key': torch.zeros(5, 6, 7)}]
14:17:49.646973 return       6     return [{'key': torch.zeros(5, 6, 7)}]
Return value:.. [{'key': tensor([[[0., 0., 0., 0., 0., 0., 0.], ...., 0.],         [0., 0., 0., 0., 0., 0., 0.]]])}]

Output from TorchSnooper v0.3

14:16:33.205156 call         5 def f():
14:16:33.205261 line         6     return [{'key': torch.zeros(5, 6, 7)}]
14:16:33.205427 return       6     return [{'key': torch.zeros(5, 6, 7)}]
Return value:.. [{'key': tensor<(5, 6, 7), float32, cpu>}]

TorchSnooper v0.2

30 May 06:27
a5a8d90
Compare
Choose a tag to compare

Now depend on the new official release of PySnooper, not my custom one.