Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/bridge/ggml/kernels/swi.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / bridge / ggml / kernels / swi.om` 8 lines ยท 264 bytes Raw Blame History 1 note swi_@T@: swiglu d = silu(a) * b with silu(x) = x/(1 + expf(-x)) in f32, as ggml_vec_swiglu_f32. 2 fn swi_@T@ a view f32 @T@ b view f32 @T@ d edit f32 @T@ to void 3 for i ulong @T@ 4 x = get a i 5 e = f32 ex64 f64 neg x 6 put d i mul div x add f32 1.0 e get b i 7 end 8 end