Skip to content

Conversation

kylesayrs
Copy link
Contributor

No description provided.

kylesayrs and others added 2 commits August 20, 2025 13:00
* Update `apply_quantiation_config` to use `match_named_modules`

Signed-off-by: Fynn Schmitt-Ulms <[email protected]>

* Refactor usages of `expand_target_names`, `is_target`, and `find_name_or_class_matches`


Signed-off-by: Fynn Schmitt-Ulms <[email protected]>

* Small fixes

Signed-off-by: Fynn Schmitt-Ulms <[email protected]>

* Simplify signature of `match_named_modules`

Removed `yield_matched_targets` and `warn_on_unmatched_ignores` and updated rest of code

Signed-off-by: Fynn Schmitt-Ulms <[email protected]>

* Ensure `match_targets` doesn't return duplicates

Signed-off-by: Fynn Schmitt-Ulms <[email protected]>

* Remove `preprocess_name` parameter from `match_named_modules`

Signed-off-by: Fynn Schmitt-Ulms <[email protected]>

* Update match.py util fn signatures and small fixes

Signed-off-by: Fynn Schmitt-Ulms <[email protected]>

* Restore `find_name_or_class_matches` as a deprecated function

This function is currently used by llm-compressor so adding it back with a deprecation warning for now. 

Signed-off-by: Fynn Schmitt-Ulms <[email protected]>

* Use deprecated decorator instead of manual deprecation warning

Signed-off-by: Fynn Schmitt-Ulms <[email protected]>

* Update syntax of of optional types

* Remove default None target value in match utils

---------

Signed-off-by: Fynn Schmitt-Ulms <[email protected]>
@fynnsu
Copy link
Contributor

fynnsu commented Aug 21, 2025

Closing in favor of #431

@fynnsu fynnsu closed this Aug 21, 2025
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