csdfg can not handle torch.rand() tensor in getting_started.ipynb
- Dominant language
- Python
- Stars
- 593
- Forks
- 163
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 60
Description
**Describe the bug**
I replace `[12] tester = np.random.rand(2000, 4000)` by
```
import torch
tester = torch.rand(2000,4000)
tester
```
and `%timeit csdfg(A=tester, N=np.int32(2000))` by
`%timeit csdfg(A=tester,N=2000)`
which means use torch.tensor() to replace numpy array as input, but we almost get an error of "Kernel Restarting":
**To Reproduce**
Changes the code as I mentioned, then run all cells.
**Expected behavior**
Output the time of `csdfg(A=tester,N=2000)`.
**Screenshots**
Almost we will get an error:

Sometimes we can get expect result (without any code changes):

**Desktop (please complete the following information):**
- OS: Linux
- Browser: Chrome
- Version: 106.0.52
**Additional context**
The error also occurs on Windows OS.
Contributor guide
Assessment
This issue has not been assessed yet.