TensorRT icon indicating copy to clipboard operation
TensorRT copied to clipboard

Wrap ScriptFunctions in modules to compile

Open narendasan opened this issue 5 years ago • 10 comments

Add a section to _compiler.py that wraps ScriptFunctions in Modules to compile the graph.

narendasan avatar May 15 '20 23:05 narendasan

This issue has not seen activity for 30 days, Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Jul 04 '20 00:07 github-actions[bot]

This issue has not seen activity for 30 days, Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Aug 08 '20 00:08 github-actions[bot]

This issue has not seen activity for 30 days, Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Sep 08 '20 00:09 github-actions[bot]

This issue has not seen activity for 30 days, Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Oct 09 '20 00:10 github-actions[bot]

This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days

github-actions[bot] avatar May 10 '21 00:05 github-actions[bot]

I would like to work on this.

https://github.com/NVIDIA/TRTorch/blob/2fbbbc1c2cbe672a77aba7a0291059485f6ecc84/py/trtorch/_compiler.py#L135

In my understanding, TRTorch should be able to automatically wrap the function in a module and proceed with compiling the module. Do you have any other note for me @narendasan

lamhoangtung avatar Jul 24 '21 02:07 lamhoangtung

yeah, I am not entirely sure about the relationship between ScriptFunctions and ScriptModules. Heres how we wrap modules for Python coming from C++ for embedding engines https://github.com/NVIDIA/TRTorch/blob/2fbbbc1c2cbe672a77aba7a0291059485f6ecc84/py/trtorch/_compiler.py#L140. Not sure if it will be the same here

narendasan avatar Jul 26 '21 17:07 narendasan

This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days

github-actions[bot] avatar Nov 23 '21 00:11 github-actions[bot]

This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days

github-actions[bot] avatar Feb 28 '22 00:02 github-actions[bot]

This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days

github-actions[bot] avatar Aug 18 '22 00:08 github-actions[bot]

This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days

github-actions[bot] avatar Nov 22 '22 00:11 github-actions[bot]

This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days

github-actions[bot] avatar Feb 27 '23 00:02 github-actions[bot]

This issue has not seen activity for 90 days, Remove stale label or comment or this will be closed in 10 days

github-actions[bot] avatar May 31 '23 00:05 github-actions[bot]