-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
SwinUNETR for TensorRT #5893
Comments
Hi, glad to see this topic in discussion. My understanding from #5125 is that there is some work around using |
Hi @csheaff, Thanks, |
Is this impacted by #7937 ? |
Hi @binliunls, does the |
Yes it does. |
Current SwinUNETR is not scriptable by
torch.jit.script
, several features has some limitations to make SwinUNETR compatible with TensorRT.This issue can discuss the potential solution for making SwinUENTR support TensorRT.
A potential solution is to make a 'light' version of this network, so we won't significantly impact users with a transition.
checkpoint
option can be removed, as inference pipleline is mostly used and do not require checkpointing.itertools
,einops
needs to replaced.Forward functions that contains none basic python can be modified to support torch.jit.script.
A light version of SwinUNETR can be a subclass of current SwinUENTR network, when users uses SwinUNETR from bundle, it uses the light version which works with TensorRT.
The light version SwinUNETR need to be tested and evaluated for comparable performance to the current version.
Welcome comment on other options. There can be a better choice.
The text was updated successfully, but these errors were encountered: