Skip to content

Conversation

tejapulagam
Copy link
Contributor

What does this PR do?

Refactors thunder/transforms/quantization.py to build the computation trace using TraceSubstitutionProcessor instead of manual bound-symbol rewriting.

Test test_networks.py::test_quantization is still passing.

Copy link
Collaborator

@t-vi t-vi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you @tejapulagam .
I wonder if we can process the additional args a tad more elegantly, other than that it seems great.

@tejapulagam tejapulagam requested a review from KaelanDt as a code owner October 1, 2025 04:54
@t-vi
Copy link
Collaborator

t-vi commented Oct 7, 2025

Manually checked GPU tests, merging.

@t-vi t-vi merged commit f3d8a42 into Lightning-AI:main Oct 7, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants