Skip to content

Conversation

yucu
Copy link
Contributor

@yucu yucu commented Mar 15, 2024

Summary: Currently FeaturePermutation and FeatureAblation both throw a device mismatch issue in https://fburl.com/code/9mfuidf4 because the current_mask is always created on CPU and never moved to the same device as expanded_input when CUDA is available.

Reviewed By: cyrjano

Differential Revision: D54969675

@facebook-github-bot
Copy link
Contributor

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

Summary:

Currently `FeaturePermutation` and `FeatureAblation` both throw a device mismatch issue in https://fburl.com/code/9mfuidf4 because the `current_mask` is always created on CPU and never moved to the same device as `expanded_input` when CUDA is available.

Reviewed By: cyrjano, vivekmig

Differential Revision: D54969675
@yucu yucu force-pushed the export-D54969675 branch from c3c285d to 5bc444b Compare March 18, 2024 21:04
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 949ec60.

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