Skip to content

refactor(loading): remove dead is_special_weight_model_type wrapper - #1237

Closed
DebayanSen96 wants to merge 1 commit into
lablup:mainfrom
DebayanSen96:refactor/1225-remove-dead-wrapper
Closed

DebayanSen96 wants to merge 1 commit into
lablup:mainfrom
DebayanSen96:refactor/1225-remove-dead-wrapper

Conversation

@DebayanSen96

Copy link
Copy Markdown
Contributor

Fixes #1225.

src/loading/special.rs carries a pass-through wrapper for is_special_weight_model_type that has zero callers and sits behind an #[allow(dead_code)]. A repo-wide grep confirms the only references are the model_metadata original, the wrapper itself, and model_metadata_tests.rs, which imports the original directly. Deleted the wrapper; use crate::model_metadata stays because special.rs still calls model_metadata::adapter_loading_unsupported_message.

The pass-through wrapper in loading::special has zero callers; the only
call site (model_metadata_tests) imports the model_metadata original
directly. Delete it along with its #[allow(dead_code)].
@cla-assistant

cla-assistant Bot commented Aug 19, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@DebayanSen96

Copy link
Copy Markdown
Contributor Author

Closing — contribution needs local build/test verification before review.

@inureyes inureyes added type:refactor Code restructuring without changing functionality priority:low Low priority labels Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:low Low priority type:refactor Code restructuring without changing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(loading): remove the dead is_special_weight_model_type delegate wrapper

2 participants