Skip to content

Running Robustness library on Multiple GPU #130

Description

@iamsh4shank

I am using robustness library and would like to know how one should use multiple GPUs with it, specifically I want to train the robust model and I have the model as torch vision V2 and I have modified the forward function to work with the library but still I get errors related to input and model not being on the same device. On fixing it, it stills says that for the loss function the output and the target are on the Cuda:1 and Cuda:0. So is there something I am missing?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions