Skip to content

New ggml_are_same_shape(src0, src1) assert after upgrading ggml library #1328

@LostRuins

Description

@LostRuins

Creating an issue to follow up on #1144 (comment)

I was trying to port some old code in TTS.cpp that was using an earlier version of the ggml library to a newer version of ggml, and I'm running into a new assert after this pull.

Specifically, there is now a constraint for ggml_are_same_shape(src0, src1) at

GGML_ASSERT(ggml_are_same_shape(src0, src1));
that constraint was not there before, for example in ggml_compute_forward_mul_f32
static void ggml_compute_forward_mul_f32(

May I check what should I change in order to avoid this assert? Is there a reason for this new limitation?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions