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
The FXGraph provided by Dynamo takes in Parameters and Buffers as arguments, however thunder.jit currently only determines a TensorProxy to be a parameter if it is unpacked from a Module. So, on thunderfx path, we don't tag these parameters with STATIC_MEMORY_LOCATION, leading to problem with CUDAGraphTransform and ExtraionOnlyPrologueTransform which depend on these tags.
The FXGraph provided by Dynamo takes in Parameters and Buffers as arguments, however
thunder.jit
currently only determines a TensorProxy to be a parameter if it is unpacked from a Module. So, on thunderfx path, we don't tag these parameters with STATIC_MEMORY_LOCATION, leading to problem with CUDAGraphTransform and ExtraionOnlyPrologueTransform which depend on these tags.lightning-thunder/thunder/core/jit_ext.py
Lines 1493 to 1500 in 35ca2e9
Potential Solution for Parameters : For parameters, maybe
thunder.jit
tag Proxies based onisinstance(obj, nn.Parameter)
.Sample:
Output
The text was updated successfully, but these errors were encountered: