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

Support cuda 64dim #126

Merged
merged 8 commits into from
Jun 3, 2023
Merged

Support cuda 64dim #126

merged 8 commits into from
Jun 3, 2023

Conversation

qwopqwop200
Copy link
Collaborator

Unlike the triton, a slight decrease in speed is to be expected.
But it will make gpt2-xl and falcon work in cuda.

@PanQiWei
Copy link
Collaborator

PanQiWei commented Jun 2, 2023

@qwopqwop200 Hi, can we keep the original cuda kernel for 256dim and make a new one that support 64dim by a simply copy? I think by this way we can maintain the speed for those model who is divisible by 256 and also compatible with those only be divisible by 64 and/or 32 at the cost of little slowdown.

@qwopqwop200
Copy link
Collaborator Author

yes. Now it probably works that way.

Copy link
Collaborator

@PanQiWei PanQiWei left a comment

Choose a reason for hiding this comment

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

Nice! Thank you so much! ❤️

@PanQiWei PanQiWei merged commit 95a4381 into support-32dim Jun 3, 2023
@qwopqwop200 qwopqwop200 deleted the support-cuda-64dim branch June 3, 2023 11:39
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.

None yet

2 participants