-
Notifications
You must be signed in to change notification settings - Fork 1k
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
ggml : replace conv stage_0 and stage_1 with im2col and mul_mat #559
Comments
I will do it. @ggerganov |
We should probably start with some unit tests of the current implementation so that we can easily prove the new version is correct |
That would be great to speed up my work. Right now, I'm making a lot of changes blindly without testing since I want to finish quickly. |
I see that this issue is almost closed with the proposed changes almost ready in a pull request. |
Does this happen while using |
No ggml-alloc |
With |
oh ok, still very new to ggml, figuring out things |
I think that using |
Completed via #564 |
Currently, we implement
ggml_conv_1d
andggml_conv_2d
as a sequence of 2 internal ops:stage_0
andstage_1
For more context see the discussion: #483
We should instead introduce
ggml_im2col
and reuse theggml_mul_mat
implementation both on the CPU and the GPU.The text was updated successfully, but these errors were encountered: