You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes the code requires that a ThunderModule is passed, however, if the user is compiling a function that takes the module as an argument, the user doesn't have a way to get a reference to it.
For example, #96 implements a workaround for this issue with the no_sync context manager.
Pitch
Provide an API to get this reference. Maybe it's something like thunder.compile_data(jitted_function).module.
Additional context
The design might need to consider the presence of multiple ThunderModules.
The text was updated successfully, but these errors were encountered:
🚀 Feature
Motivation
Sometimes the code requires that a
ThunderModule
is passed, however, if the user is compiling a function that takes the module as an argument, the user doesn't have a way to get a reference to it.For example, #96 implements a workaround for this issue with the
no_sync
context manager.Pitch
Provide an API to get this reference. Maybe it's something like
thunder.compile_data(jitted_function).module
.Additional context
The design might need to consider the presence of multiple
ThunderModule
s.The text was updated successfully, but these errors were encountered: