Skip to content
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

remove transform_trace_additionally #914

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: fixed kwargs
  • Loading branch information
k223kim committed Aug 5, 2024
commit c0a78cdfe961f931a0de5b297cb9943294ce5806
4 changes: 3 additions & 1 deletion thunder/transforms/quantization.py
Original file line number Diff line number Diff line change
@@ -105,7 +105,9 @@ def transform_state_dict_for_submodule(self, model: thunder.ThunderModule, submo

return state_dict

def transform_traces_pre_prologue(self, prologue_trace, computation_trace, epilogue_trace, *, backward=False):
def transform_traces_pre_prologue(
self, prologue_trace, computation_trace, epilogue_trace, *, backward=False, **kwargs
):
if backward:
return super().transform_traces_pre_prologue(prologue_trace, computation_trace, epilogue_trace)
tm = self.thunder_module
Loading