Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Crash with simple test #216

Open
Open
@marcobambini

Description

I wrote a very simple C example:

struct bark_context_params ctx_params = bark_context_default_params();
 struct bark_context *bctx = bark_load_model(model_path, ctx_params, 0);
 if (!bctx) {
 fprintf(stderr, "%s: Could not load model\n", __func__);
 exit(1);
 }
 
 // generate audio
 if (!bark_generate_audio(bctx, text, 4)) {
 fprintf(stderr, "%s: An error occured. If the problem persists, feel free to open an issue to report it.\n", __func__);
 exit(1);
 }
 
 const float *audio_data = bark_get_audio_data(bctx);
 if (audio_data == NULL) {
 fprintf(stderr, "%s: Could not get audio data\n", __func__);
 exit(1);
 }
 const int audio_arr_size = bark_get_audio_data_size(bctx);

The model_path is the full path to ggml_weights.bin and the text string is a simple "Hello World, my name is Marco".
As you can see from the screenshot, the crash occurs inside ggml_hash_insert with i = 338607911

Image

I am a bit lost and any help would be really appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /