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
So I have a tensor code_emb shaped [43,1024], and I need to upscale it to be [187, 1024], to match the torch code. (dimensions listed here left to right ggml style)
Best I can tell, the ggml_upscale only allows integer scaling factors. A clean way to implement this could be to create another op ggml_upscale_to_shape which upscales a tensor optionally across all 4 dimensions.
Would there be interest in up-streaming this if I work on it?
The text was updated successfully, but these errors were encountered:
balisujohn
changed the title
Is there interest in ggml_upscale_to_size supporting non integer scaling factors?
Is there interest in ggml_upscale_to_shape supporting non integer scaling factors?
May 4, 2024
So I have a tensor
code_emb
shaped [43,1024], and I need to upscale it to be [187, 1024], to match the torch code. (dimensions listed here left to right ggml style)Best I can tell, the
ggml_upscale
only allows integer scaling factors. A clean way to implement this could be to create another opggml_upscale_to_shape
which upscales a tensor optionally across all 4 dimensions.Would there be interest in up-streaming this if I work on it?
The text was updated successfully, but these errors were encountered: