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

[Tensor] add ColoTensor TP1Dcol Embedding #899

Merged
merged 6 commits into from
Apr 28, 2022

Conversation

Wesley-Jzy
Copy link
Contributor

  1. add ColoTensor TP1Dcol Embedding
  2. add a unit test

colossalai/tensor/_ops/embedding.py Outdated Show resolved Hide resolved

check_equal(out, C)

grad_shape = C_master.shape
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you make reference fwd+bwd running in 1 process?

@feifeibear feifeibear merged commit 2c0d19d into hpcaitech:main Apr 28, 2022
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

Successfully merging this pull request may close these issues.

2 participants