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

[Bug] Illegal Memory Access in Attention Layer when Using fp16 #6940

Open
DanielSHKao opened this issue Jan 9, 2025 · 0 comments
Open

[Bug] Illegal Memory Access in Attention Layer when Using fp16 #6940

DanielSHKao opened this issue Jan 9, 2025 · 0 comments

Comments

@DanielSHKao
Copy link

Thanks for your impactful work of deepspeed. I am experiencing difficulties with model parallelism when using fp16 with transformer-based model. Specifically, I received the following bug message:
Image

, where the self.model has the following architecture...:
Image

I am using deepspeed 0.10.3, transformers 4.31.0, torch 2.1.2+cu118 and CUDA 11.8 on 2 RTX4090 GPUs. Do you have any idea how to solve this bug?

Thanks in advance.

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