Skip to content

0 MHA found #2093

@tatiana-iazykova

Description

@tatiana-iazykova

Hi!
I tried to prune my model (mistralai/Mistral-7B-v0.1) with the following config

    pruning_config = WeightPruningConfig(
        pruning_type="snip_momentum_progressive",
        start_step=0,
        end_step=15,
        sparsity_decay_type='exp',
        pruning_op_types=["Linear"],
        op_names=['.*.self_attn'],
        excluded_op_names=["lm_head", "embed_tokens"],
        max_sparsity_ratio_per_op=0.98,
        pruning_scope="global",
    )   

However when I try to slim the model, the logger says that 0 MHA found

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions