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
Currently autocast (transforms/autocast.py) is carried over from the old-style transforms on callable and invoked like
jit(autocast(fn))
it would be good to make this a AutocastTransform to be invoked as
jit(fn, transforms=[Autocast()])
for better composability.
This should be vaguely doable with the transforms e.g. as explained in Thunder Sessions Episode 7 plus the bsym mapping provided by the existing mechanism, so it might be a good first or second issue.
The text was updated successfully, but these errors were encountered:
Currently autocast (
transforms/autocast.py
) is carried over from the old-style transforms on callable and invoked likeit would be good to make this a
AutocastTransform
to be invoked asfor better composability.
This should be vaguely doable with the transforms e.g. as explained in Thunder Sessions Episode 7 plus the bsym mapping provided by the existing mechanism, so it might be a good first or second issue.
The text was updated successfully, but these errors were encountered: