Open Francis235 opened 2 weeks ago
This is not the correct way to allocate data for a tensor. Look into how other input tensors are created (eg. build_inp_pos
), and add it to llama_set_inputs
to set the data.
This is not the correct way to allocate data for a tensor. Look into how other input tensors are created (eg.
build_inp_pos
), and add it tollama_set_inputs
to set the data.
thanks, it works.
Discussed in https://github.com/ggerganov/llama.cpp/discussions/9197