Skip to content

Commit

Permalink
Update torchkbnufft to 1.2 for PyTorch 1.8 (#27)
Browse files Browse the repository at this point in the history
* Draft of 1.8 updates

* Change to use tensor_split

* Update torch version

* Increment other packages

* Fixes for mypy

* Simplify some booleans

* Comment out thread management due to perf regression

* Remove commented out code
  • Loading branch information
mmuckley committed Apr 9, 2021
1 parent 0c6678c commit 4d98054
Show file tree
Hide file tree
Showing 7 changed files with 99 additions and 187 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ the following is a partial list of other projects:

2. Beatty, P. J., Nishimura, D. G., & Pauly, J. M. (2005). [Rapid gridding reconstruction with a minimal oversampling ratio](https://doi.org/10.1109/TMI.2005.848376). *IEEE Transactions on Medical Imaging*, 24(6), 799-808.

3. Feichtinger, H. G., Gr, K., & Strohmer, T. (1995). [Efficient numerical methods in non-uniform sampling theory](https://doi.org/10.1007/s002110050101). Numerische Mathematik, 69(4), 423-440.
3. Feichtinger, H. G., Gr, K., & Strohmer, T. (1995). [Efficient numerical methods in non-uniform sampling theory](https://doi.org/10.1007/s002110050101). *Numerische Mathematik*, 69(4), 423-440.

## Citation

Expand All @@ -226,7 +226,7 @@ If you use the package, please cite:
```bibtex
@conference{muckley:20:tah,
author = {M. J. Muckley and R. Stern and T. Murrell and F. Knoll},
title = {{TorchKbNufft}: A High-Level, Hardware-Agnostic Non-Uniform Fast Fourier Transform},
title = {{TorchKbNufft}: A High-Level, Hardware-Agnostic Non-Uniform Fast {Fourier} Transform},
booktitle = {ISMRM Workshop on Data Sampling \& Image Reconstruction},
year = 2020
}
Expand Down
8 changes: 4 additions & 4 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-r requirements.txt
black==20.8b1
pytest==6.1.1
flake8==3.8.4
mypy==0.790
pillow==8.1.1
pytest==6.2.3
flake8==3.9.0
mypy==0.812
pillow==8.2.0
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
torch==1.7.1
numpy==1.19.2
scipy==1.5.2
torch==1.8.1
numpy==1.20.2
scipy==1.6.2
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import torchkbnufft # noqa: E402

install_requires = ["torch>=1.7", "numpy", "scipy"]
install_requires = ["torch>=1.8", "numpy", "scipy"]

# https://packaging.python.org/discussions/install-requires-vs-requirements
setup(
Expand Down
2 changes: 1 addition & 1 deletion torchkbnufft/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Package info"""

__version__ = "1.1.0"
__version__ = "1.2.0"
__author__ = "Matthew Muckley"
__author_email__ = "matt.muckley@gmail.com"
__license__ = "MIT"
Expand Down

0 comments on commit 4d98054

Please sign in to comment.