Update for PyTorch 1.8
This updates torchkbnufft
for PyTorch version 1.8. It uses a new version of index_add
that operates natively on complex tensors. The update also fixes a performance regression that arose due to thread management as identified in Issue #25.
Most changes came from PR #27, which has the below list of modifications:
- Update
requirements.txt
anddev-requirements.txt
to latest packages. - Remove
calc_split_sizes
- we can now usetensor_split
. - Removed some calls to tensor attributes - these can be expensive.
- Removal of
kwarg
usage for sometorch.jit.script
functions - these can behave strangely with scripted functions. - Removal of
index_put
for accumulation. We now only useindex_add
.