You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 233a1b0
Browse filesBrowse the repository at this point in the historyBrowse files
ErikOHiggins's laguna engine (laguna.cpp/.hpp, after flint.cpp: query
heads per layer, YaRN on the full layers, a softplus output gate, no
sinks), head_norm_rope_yarn() and RopeYarn for the YaRN turn as ggml's
rope_yarn computes it, and mul_softplus(). The tokenizer and chat side
is PR 167.
Conflicts:
- engine/include/strata/poly/kernels.hpp: this tree added AttnSeqs and
attend_seqs() for batched sequences, the PR RopeYarn and
head_norm_rope_yarn(). Both kept, this tree's first.
- engine/src/poly/kernels.cu: the PR made head_norm_rope_kernel a
template on YARN; this tree gave it at_stride for
head_norm_rope_rows(). The kernel takes both (template<bool YARN>,
int at_stride, RopeYarn yarn), and its <false> body is this tree's.
head_norm_rope() and head_norm_rope_rows() pass <false> and a default
RopeYarn, head_norm_rope_yarn() <true> and at_stride 0.
- CMakeLists.txt: gone here (the poly targets are in
engine/cmake/strata_poly.cmake). The PR's three target changes
(laguna.cpp in strata-poly, poly_draft_race_test and
poly_gdn_mma_state_test) went there by hand.
- src/poly/laguna.{cpp,hpp}: placed at engine/src/poly/.
laguna.cpp is a copy of flint.cpp from before 465649c, whose
save_layer() change it lacks; a commit after the PR 180 merge brings it
over.
Checked with the rest of this branch merged: strata-poly builds for CUDA
sm_89, sm_120 and sm_70 and for HIP gfx1201 and gfx1012. No Laguna
file is on the lab machines, so the model was not run here.
0 commit comments