You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
right now ggml_padonly supports putting padding at the end of each dimension. Is there support for generalizing it to allow adding padding at at the beginning of each dimension? My thinking is the arguments would be
p00,p01,p10,p11,p20,p21,p30,p31
This is necessary for tortoise.cpp so as usual I'll be implementing it anyway and am happy to upstream it.
The text was updated successfully, but these errors were encountered:
balisujohn
changed the title
is there interest in adding option for beginning padding to ggml_pad
Is there interest in adding option for beginning padding to ggml_pad?
Jun 17, 2024
Yes, make sure to extend the existing kerenels and not introduce new ones. The ggml API can keep ggml_pad and also add ggml_pad_ext with the full parameter list
right now
ggml_pad
only supports putting padding at the end of each dimension. Is there support for generalizing it to allow adding padding at at the beginning of each dimension? My thinking is the arguments would beThis is necessary for tortoise.cpp so as usual I'll be implementing it anyway and am happy to upstream it.
The text was updated successfully, but these errors were encountered: