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.

343 B
Raw Blame
#pragma once

#include <vector>
#include <string>
#include <pybind11/pybind11.h>
#include <pybind11/pytypes.h>

#include <ATen/Tensor.h>

namespace py = pybind11;

int partial_strings_match
(
    py::buffer match,
    py::buffer offsets,
    py::buffer strings
);

int count_match_tensor
(
    at::Tensor a,
    at::Tensor b,
    int max_a
);