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

Fix: correct quantization name filtering #196

Merged

Conversation

tengomucho
Copy link
Contributor

The quantization filter based on layer names did not work, because modules walk is done with the Module.apply method, that resolves names locally, so the "absolute" naming does not work. The fix just prepares a list out of the names before entering the loop, so the correct reference is captured.

The quantization filter based on layer names did not work, because
modules walk is done with the Module.apply method, that resolves names
locally, so the "absolute" naming does not work. The fix just prepares a
list out of the names before entering the loop, so the correct reference
is captured.
@qihqi qihqi merged commit 02927c9 into AI-Hypercomputer:main Oct 23, 2024
3 of 4 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