Closed Green-Sky closed 3 months ago
Hello @Green-Sky ! Thanks for your interest in bark.cpp
and for reporting these bugs. This is very valuable.
vocab.bin
is in the repo so that the test-tokenizer
script can run.ran it in the debugger:
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00007ffff7a52859 in __GI_abort () at abort.c:79
#2 0x00005555555a3f4c in ggml_init (params=...) at /home/green/workspace/bark.cpp/ggml.c:4410
#3 0x0000555555565422 in fine_gpt_eval (model=..., n_threads=4, codebook_ix=3,
embd_inp=std::vector of length 8, capacity 8 = {...},
logits=std::vector of length 2, capacity 2 = {...}, mem_per_token=@0x7fffffffba28: 5106640)
at /home/green/workspace/bark.cpp/bark.cpp:555
#4 0x000055555556fbb9 in bark_forward_fine_encoder (
tokens=std::vector of length 162, capacity 256 = {...}, model=..., rng=..., n_threads=4, temp=0.5)
at /home/green/workspace/bark.cpp/bark.cpp:1494
#5 0x0000555555571f8e in bark_generate_audio (model=..., vocab=..., text=<optimized out>, n_threads=4)
at /usr/include/c++/9/bits/stl_tree.h:129
#6 0x000055555555c6e3 in main (argc=<optimized out>, argv=<optimized out>)
at /usr/include/c++/9/bits/basic_string.h:2316
Closing as this should be fixed with #139 . Feel free to share your feedbacks @Green-Sky in another issue :)
So I have been following this project with anticipation, and finally decided to give it a go.