-
Notifications
You must be signed in to change notification settings - Fork 3
Speed up nnUnet inference #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 21 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
88e7bf5
fail if not fit on GPU, so I can test it
robert-graf edc368f
Merge branch 'main' into development_robert
robert-graf 4a6ee90
update memory requirements
robert-graf 48a9d2a
fix bug for very elongated segmentations
robert-graf 9211f4f
Merge branch 'development_robert' of github.com:Hendrik-code/TPTBox i…
robert-graf 41fa833
should not use Runtime Errors
robert-graf a5e621c
Merge branch 'development_robert' of github.com:Hendrik-code/TPTBox i…
robert-graf 397cd36
perf(nnunet): enable cuDNN autotune + TF32 for sliding-window inference
Hendrik-code 065e3d9
perf(nnunet): use torch.inference_mode() instead of no_grad() for inf…
Hendrik-code 271557a
perf(nnunet): stop clearing CUDA cache on the per-fold happy path
Hendrik-code 3fbc842
fix(nnunet): repair fold ensembling broken by loaded_networks cache
Hendrik-code 93ad675
perf(nnunet): add opt-in persistent model cache (cache_model)
Hendrik-code cf37216
perf(nnunet): optionally batch sliding-window tiles (tile_batch_size)
Hendrik-code 57a8d19
bench: add nnU-Net inference timing harness
Hendrik-code 365ab8b
bug fixes
robert-graf 99170c8
Merge branch 'development_robert' of github.com:Hendrik-code/TPTBox i…
robert-graf 69e872e
Merge branch 'nnunetinference' into development_robert
robert-graf a7efb70
fix bug made by claude
robert-graf 7b49086
speed up argmax. Yes this much code is needed for this.
robert-graf afcb402
ruff
robert-graf d1bfde2
update tests. add ravel
robert-graf a4d1e6d
minor fallback plus updated speedtest
Hendrik-code File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
replace with old_np_unique() call