Skip to content

Pruning#6

Open
JeevanBhoot wants to merge 5 commits into
samfrom
pruning
Open

Pruning#6
JeevanBhoot wants to merge 5 commits into
samfrom
pruning

Conversation

@JeevanBhoot

Copy link
Copy Markdown

Add functionality to prune self-attention heads of ViT. Mask the heads by setting to 0. Calculate importance scores - changes in accuracy after pruning a given head. Prune the worst heads (most positive change in accuracy).

Also some fixes to SAM and mixup.

@acairncross acairncross removed their request for review June 12, 2026 13:53
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