-
Notifications
You must be signed in to change notification settings - Fork 441
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
[Question] Is there FP8 embeddings support for training? #2264
Comments
Doesn't look like it no, what is your use case? Feel free to put up a pull request |
Hello @PaulZhang12, thanks for your reply. The use case is a normal deep learning recommendation model training with all the embeddings in FP8 format. The reason I do not use FP32 or FP16 embeddings is because I want to save memory.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, it looks like EmbeddingBagCollection forces data type to be float32 or float16 during initialization.
https://github.com/pytorch/torchrec/blob/main/torchrec/modules/embedding_modules.py#L179
Is there any support to make embedding be float8? Note, this is for training.
The text was updated successfully, but these errors were encountered: