Skip to content

Comments

fix: Update Imports of torchao quantizer#549

Open
ParagEkbote wants to merge 2 commits intoPrunaAI:mainfrom
ParagEkbote:update-torchao-imports
Open

fix: Update Imports of torchao quantizer#549
ParagEkbote wants to merge 2 commits intoPrunaAI:mainfrom
ParagEkbote:update-torchao-imports

Conversation

@ParagEkbote
Copy link
Contributor

@ParagEkbote ParagEkbote commented Feb 23, 2026

Description

After the release of torchao 0.15.0, the config function which are used in the torchao quantizer have been deprecated and removed, instead being updated with a new class config. We can also view this in the release notes. I have updated the imports to reflect the changes. Could you please review?

cc: @minettekaum

Related Issue

Fixes #(issue number)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Additional Notes

@ParagEkbote ParagEkbote changed the title Update Imports of torchao quantizer fix: Update Imports of torchao quantizer Feb 23, 2026
@ParagEkbote
Copy link
Contributor Author

@cursor review

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

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.

1 participant