Turing Engine
Licensed under the Business Source License 1.1 (see LICENSE), except the third-party code listed below, which keeps
its own license.

--------------------------------------------------------------------------------

csrc/marlin/ : Marlin mixed-precision (W4A16) GEMM kernel
  Vendored from vLLM v0.31.0 (https://github.com/vllm-project/vllm): csrc/libtorch_stable/quantization/marlin/ and
  csrc/core/scalar_type.hpp.
  Copyright contributors to the vLLM project. Marlin: Copyright (C) 2024 Elias Frantar (IST-DASLab,
  https://github.com/IST-DASLab/marlin), modified by Neural Magic and the vLLM project.
  Licensed under the Apache License, Version 2.0 (csrc/marlin/LICENSE). Each file's header says whether Turing Engine
  modified it and how. turing/kernels/marlin.py ports layout logic from vLLM's
  vllm/model_executor/layers/quantization/utils/marlin_utils.py (Apache-2.0).

csrc/marlin_moe/ : Marlin mixed-precision (W4A16) GEMM kernel for mixture-of-experts layers
  Vendored from vLLM v0.31.0 (https://github.com/vllm-project/vllm): csrc/libtorch_stable/moe/marlin_moe_wna16/.
  Copyright contributors to the vLLM project. Marlin: Copyright (C) 2024 Elias Frantar (IST-DASLab,
  https://github.com/IST-DASLab/marlin), modified by Neural Magic and the vLLM project.
  Licensed under the Apache License, Version 2.0 (csrc/marlin/LICENSE). Each file's header says whether Turing Engine
  modified it and how. turing/kernels/marlin_moe.py follows the call sequence of vLLM's
  vllm/model_executor/layers/fused_moe/experts/marlin_moe.py (Apache-2.0).

third_party/llama.cpp/ : llama.cpp (libllama, ggml and libmtmd), the libllama backend
  A git submodule of https://github.com/ggml-org/llama.cpp pinned at commit 171527522610996f5f0acf12334e185156ca8f44,
  compiled into turing.turing_llama and turing-cpu only when built with TURING_BUILD_LLAMA=1.
  Copyright (c) 2023-2026 The ggml authors. Licensed under the MIT License (third_party/llama.cpp/LICENSE).
  Turing Engine modifies it at configure time with third_party/patches/ (0001: BitNet-b1.58-2B-4T in its converter,
  gguf-py tensor mapping and src/models/bitnet.cpp).
  It bundles code under its own licenses: nlohmann/json (MIT, third_party/llama.cpp/licenses/LICENSE-jsonhpp),
  stb_image (public domain or MIT; libmtmd's, and a second static copy in csrc/cpu/turing_llama.hpp, which decodes
  images itself) and miniaudio (public domain or MIT-0) in libmtmd. On ARM, the build fetches ARM's
  KleidiAI v1.32.0 (https://github.com/ARM-software/kleidiai, Apache License 2.0) and links it in.
