Archived
core: a frame pass names the row before the frame's own -- its KV slot, position and context, for a frame head that attends at the row its hidden state comes from (Fish Audio drama-3's codebook tower)
This commit is contained in:
1 parent
346efdeb2e
commit
f201c140ab
6 files changed
+34
-2
No files matched your search
@@ -267,6 +267,10 @@ TEST(a_hybrid_model_of_one_branch_stages_its_state_groups) {
|
||||
CHECK_EQ(b->n_tok, (int64_t)1);
|
||||
CHECK_EQ(b->positions[0], 4); /* after the four prompt rows */
|
||||
CHECK_EQ(b->ctx_lens[0], 4);
|
||||
/* The row the frame is sampled from: the prompt's last, at its slot. */
|
||||
CHECK_EQ(b->agen_b->prev_pos[0], 3);
|
||||
CHECK_EQ(b->agen_b->prev_used[0], 4);
|
||||
CHECK_EQ(b->agen_b->prev_slot[0], b->kv[0].slot_mapping[0] - 1);
|
||||
CHECK_EQ(b->num_accepted[0], 1);
|
||||
int32_t st1 = 0, cv1 = 0;
|
||||
state_rows(b, &st1, &cv1);
|
||||
|
||||
Reference in new issue
Block a user