Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid unnecessary tensor construction when creating input masks for permutation/ablation #1527

Closed
wants to merge 1 commit into from

Conversation

sarahtranfb
Copy link
Contributor

Summary:
Study: https://docs.google.com/spreadsheets/d/1GyNJJBrNkazGOyJQLv00QV4phX2R3488oNgVPT17qzU/edit?gid=0#gid=0
Saw a regression in the new logic introduced in D69531512 with one of the models for both permutation and ablation methods, potentially due to large sparse features. vivekmig suggested we can avoid creating all these zero tensors

Differential Revision: D71057703

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71057703

sarahtranfb added a commit to sarahtranfb/captum that referenced this pull request Mar 12, 2025
…ermutation/ablation (pytorch#1527)

Summary:

Study: https://docs.google.com/spreadsheets/d/1GyNJJBrNkazGOyJQLv00QV4phX2R3488oNgVPT17qzU/edit?gid=0#gid=0
Saw a regression in the new logic introduced in D69531512 with one of the models for both permutation and ablation methods, potentially due to large sparse features. vivekmig suggested we can avoid creating all these zero tensors

Differential Revision: D71057703
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71057703

sarahtranfb added a commit to sarahtranfb/captum that referenced this pull request Mar 12, 2025
…ermutation/ablation (pytorch#1527)

Summary:
Pull Request resolved: pytorch#1527

Study: https://docs.google.com/spreadsheets/d/1GyNJJBrNkazGOyJQLv00QV4phX2R3488oNgVPT17qzU/edit?gid=0#gid=0
Saw a regression in the new logic introduced in D69531512 with one of the models for both permutation and ablation methods, potentially due to large sparse features. vivekmig suggested we can avoid creating all these zero tensors

Differential Revision: D71057703
sarahtranfb added a commit to sarahtranfb/captum that referenced this pull request Mar 13, 2025
…ermutation/ablation (pytorch#1527)

Summary:

Study: https://docs.google.com/spreadsheets/d/1GyNJJBrNkazGOyJQLv00QV4phX2R3488oNgVPT17qzU/edit?gid=0#gid=0
Saw a regression in the new logic introduced in D69531512 with one of the models for both permutation and ablation methods, potentially due to large sparse features. vivekmig suggested we can avoid creating all these zero tensors

Reviewed By: craymichael

Differential Revision: D71057703
…ermutation/ablation (pytorch#1527)

Summary:
Pull Request resolved: pytorch#1527

Study: https://docs.google.com/spreadsheets/d/1GyNJJBrNkazGOyJQLv00QV4phX2R3488oNgVPT17qzU/edit?gid=0#gid=0
Saw a regression in the new logic introduced in D69531512 with one of the models for both permutation and ablation methods, potentially due to large sparse features. vivekmig suggested we can avoid creating all these zero tensors

Reviewed By: craymichael

Differential Revision: D71057703
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71057703

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in b917b2a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants