Skip to content

Kyojin: open-source engine that runs 100 GB-class open models (GLM-5.3, Qwen3.8, DeepSeek V4.1) on one desktop machine. AMD Strix Halo, NVIDIA RTX and Apple Mac. OpenAI API, built on ExLlamaV3.

414 B
Raw Blame
py::class_<BC_GatedRMSNorm, std::shared_ptr<BC_GatedRMSNorm>>(m, "BC_GatedRMSNorm").def
(
    py::init<
        at::Tensor,
        float,
        float,
        int,
        bool,
        int
    >(),
    py::arg("weight"),
    py::arg("rms_norm_eps"),
    py::arg("constant_bias"),
    py::arg("w_groups") = 1,
    py::arg("gate_first") = false,
    py::arg("gate_act") = 0
)
.def("run", &BC_GatedRMSNorm::run);