-
Notifications
You must be signed in to change notification settings - Fork 101
⚡️Add torch.compile Functionality
#716
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 95 commits
Commits
Show all changes
103 commits
Select commit
Hold shift + click to select a range
58dbdc2
⚡️ Add torch.compile decorators
29fd380
✅ Add simple compute time test
85d47b8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 3b0667d
♻️ refactor test and add disable `torch.compile`
6ebaec1
Fix conflicts
168f8ef
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c55f00b
💚 Fix CI `no_gpu` error and move timed
5318a37
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b3a8cb8
🎨 Minor improvements
6112670
Merge branch 'develop' into enhance-torch-compile
shaneahmed e97f4a5
Merge branch 'develop' into enhance-torch-compile
shaneahmed cdaade2
Merge branch 'enhance-torch-compile' of https://github.com/TissueImag…
dc806c9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f302edb
🔥 Remove `torch.compile` test for now
d2cf661
🔀 merge changes
6ab0d8f
⚡️ Add `torch.compile` to SemanticSegmentor
cd554fb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d541058
⚡️ Add `torch.compiled` to PatchPredictor
b660edc
Merge branch 'enhance-torch-compile'
3c3305f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 1694d17
🔥 Temp disable `torch.compile` SemanticSegmentor
f50b083
Merge branch 'enhance-torch-compile' of https://github.com/TissueImag…
7910039
💡 Remove chanage to `__init__.py`
5b513e2
🔥 Temp remove `torch.compile` SemanticSegmentor
aaf076e
🚨 Fix `ruff` linter errors
2d736c0
🚨 Temp disable cyclomatic complexity check
65c2c53
🚨 Cont. temp disable cyclomatic complexity check
9cc0168
🚨 Revert `max-args` back to 10
d66a7bd
✏️ Add text to notebook
820c7b9
⏪ Remove unnecessary line in example notebook
afa81f6
⚡️ Add `torch-compile` to `SemanticSegmentor`
e5eae50
🚧 Add 'rcParam` as config
6506799
🚧 Add `torch.compile` mode to `rcParam`
fc7120e
🐛 Fix argument mishap
08a3cf8
🚨 Fix linter errors
a13ee34
Merge branch 'develop' into enhance-torch-compile
1c0173d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] b0a276e
🐛 Fix `rcParam` definition
13eafe2
Merge branch 'enhance-torch-compile' of https://github.com/TissueImag…
a138bc9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 32b002e
🐛 Fix `rcParam` definition
33df9a9
Merge branch 'enhance-torch-compile' of https://github.com/TissueImag…
a003742
🚨 Fix `ruff` lint errors
df62c5d
Merge branch 'develop' into enhance-torch-compile
shaneahmed 54d4b06
Merge branch 'develop' into enhance-torch-compile
shaneahmed 8bc5328
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ddfc15c
Merge branch 'develop' into enhance-torch-compile
Abdol c2c0e89
🚧 Supress `TorchDynamo` errors and disable `torch.compile` by default
957f847
🚧 Remove a problematic `torch.compile` defintion
f898bc5
🐛 Fix linter error about importing protected members
6b1520a
🚨 Further linter error fix
5b32712
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6c6ce66
🚨 Further linter error fix
1574859
Merge branch 'enhance-torch-compile' of https://github.com/TissueImag…
7be70e5
Merge branch 'develop' into enhance-torch-compile
Abdol 5d8cc6a
🚧 Remove `torch.compile` definitions from main PR
90d5648
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 9377b8d
🐛 Fix missing attribute in WSI registration from previous commit
b5fd57f
Merge branch 'develop' into enhance-torch-compile
shaneahmed 8d6b788
Merge branch 'develop' into enhance-torch-compile
shaneahmed fb032d4
Merge branch 'develop' into enhance-torch-compile
shaneahmed b2f57ee
Merge branch 'develop' into enhance-torch-compile
shaneahmed 252c7f9
⚡️ Add `torch.compile` to `PatchPredictor` (#776)
Abdol cf22502
Merge branch 'develop' into enhance-torch-compile
shaneahmed 1d40585
📝 Fix docstrings
Abdol 7d08c34
Merge branch 'develop' into enhance-torch-compile
shaneahmed 6ee4353
Merge branch 'develop' into enhance-torch-compile
shaneahmed 76d8e7e
Merge branch 'develop' into enhance-torch-compile
Abdol a767843
Merge branch 'develop' into enhance-torch-compile
Abdol e533b85
⚡️Refine `torch.compile` and Add to WSI Registration (#800)
Abdol 7df7c62
Merge branch 'develop' into enhance-torch-compile
Abdol d97501c
Merge branch 'develop' into enhance-torch-compile
Abdol 5667e54
Merge branch 'develop' into enhance-torch-compile
Abdol 02b8771
Merge branch 'develop' into enhance-torch-compile
Abdol 2729a06
Merge branch 'develop' into enhance-torch-compile
Abdol 92b75df
Merge branch 'develop' into enhance-torch-compile
Abdol 7cf2714
Merge branch 'develop' into enhance-torch-compile
shaneahmed 14c9409
Merge branch 'develop' into enhance-torch-compile
shaneahmed a086195
Merge branch 'develop' into enhance-torch-compile
shaneahmed 8cc2fb4
Merge branch 'develop' into enhance-torch-compile
Abdol ba1776e
🚧 Add `torch.compile` to SemanticSegmentor
Abdol dd02dd3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 36d3f81
Merge branch 'develop' into enhance-torch-compile
shaneahmed 6a5cc1d
🐛 Fix `torch.compile` assertion error
Abdol 67fef3f
✅ Add test for SemanticSegmentor with `torch.compile`
Abdol 24bd96b
Merge branch 'develop' into enhance-torch-compile
shaneahmed 7d1850b
Merge branch 'develop' into enhance-torch-compile
Abdol fd97f07
Merge branch 'develop' into enhance-torch-compile
Abdol e5be778
fix DeepSource error
Jiaqi-Lv 62a9009
fix deepsource error
Jiaqi-Lv 2d15229
Apply suggestions from code review
Abdol 8cd748a
Update semantic_segmentor.py as per code review
Abdol 14450f2
Apply suggestions from code review
Abdol dcfb18a
Merge branch 'develop' into enhance-torch-compile
Abdol 6580a01
try fixing testcov
Jiaqi-Lv 152d698
Adjust spacing in github workflows
shaneahmed 11fc009
Apply suggestions from code review
Abdol 8790efa
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 6545920
Update utils.py to address review comments
Abdol 5c6928f
:memo: Add `torch.compile` mode descriptions
Abdol 77830ae
:bug: Fix E501 Line too long
shaneahmed 8f07b0a
Merge branch 'refs/heads/develop' into enhance-torch-compile
shaneahmed 020d9ef
:bug: Fix `test_torch_compile_compatibility`
shaneahmed 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
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.
Uh oh!
There was an error while loading. Please reload this page.