Skip to content

Commit

Permalink
update comments about mps
Browse files Browse the repository at this point in the history
  • Loading branch information
wasserth committed Jan 10, 2024
1 parent af20a09 commit 1c41e8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* properly add `vertebrae_body` model
* add `--roi_subset_robust` argument
* add `--fastest` argument
* allow `mps` as device
* allow `mps` as device (but not working yet)


## Release 2.0.5
Expand Down
3 changes: 2 additions & 1 deletion totalsegmentator/bin/TotalSegmentator.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ def main():
help="In multilabel file order classes as in v1. New v2 classes will be removed.",
default=False)

# "mps" is for apple silicon; the latest pytorch nightly version supports 3D Conv now.
# "mps" is for apple silicon; the latest pytorch nightly version supports 3D Conv but not ConvTranspose3D which is
# also needed by nnU-Net. So "mps" not working for now.
# https://github.com/pytorch/pytorch/issues/77818
parser.add_argument("-d", "--device", choices=["gpu", "cpu", "mps"],
help="Device to run on (default: gpu).",
Expand Down

0 comments on commit 1c41e8d

Please sign in to comment.