Skip to content
New issue

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

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

Already on GitHub? # to your account

Device mismatch when using Adversarial Library attack #112

Open
tsalmonking opened this issue Feb 17, 2025 · 0 comments
Open

Device mismatch when using Adversarial Library attack #112

tsalmonking opened this issue Feb 17, 2025 · 0 comments

Comments

@tsalmonking
Copy link

When running examples on GPU instead of CPU, attacks from the adversarial library return the following error:

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda! (when checking argument target for method wrapped_CUDA_nll_loss_forward)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant