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

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

Open
HuangChiEn opened this issue Jan 9, 2023 · 0 comments

Comments

@HuangChiEn
Copy link

@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 !!

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

No branches or pull requests

1 participant