Skip to content

Commit

Permalink
llama : whitespace formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sszymczy committed Jun 20, 2024
1 parent 704b160 commit fe6c942
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llama.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12540,11 +12540,11 @@ static void llama_set_inputs(llama_context & lctx, const llama_batch & batch) {

if (lctx.inp_pos_bucket) {
const int64_t n_tokens = batch.n_tokens;

GGML_ASSERT(ggml_backend_buffer_is_host(lctx.inp_pos_bucket->buffer));

int32_t * data = (int32_t *) lctx.inp_pos_bucket->data;

if (!lctx.is_encoding) {
const int64_t n_kv = kv_self.n;
for (int h = 0; h < 1; ++h) {
Expand Down

0 comments on commit fe6c942

Please sign in to comment.