Skip to content

NT_Xent Loss function: all negatives are not being used in multi-gpu case ? #59

Description

@HuangChiEn

@sthalles
Hello, i saw there have the similar issue before, the problem is i haven't saw any torch.gather API to collect the negative terms crossing all gpu in loss function calculation.
So, is that means this repo does not support the multi-gpu yet ?

Any suggestion will be appreciated !!

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions