BareMetalRT
Copyright 2025-2026 BareMetalRT

This product includes software developed by third parties, redistributed under
their respective open-source licenses. Software dependencies are installed at
runtime (see installer/requirements.txt); the entries below cover code that has
been transplanted into or vendored alongside this source tree.

================================================================================
NVIDIA TensorRT-LLM  —  Apache License 2.0
  https://github.com/NVIDIA/TensorRT-LLM
  Copyright (c) 2011-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
  Full license text (incl. NVIDIA's own third-party attributions — BSD-3-Clause,
  MIT, SGLang, vLLM, and others): THIRD_PARTY_LICENSES/TensorRT-LLM-Apache-2.0.txt
================================================================================

  BareMetalRT ships a Windows port of NVIDIA TensorRT-LLM. This includes:

    - Compiled native components built from TensorRT-LLM source, redistributed
      as runtime/nvinfer_plugin_tensorrt_llm.dll and (via the tensorrt_llm PyPI
      wheel installed at setup) tensorrt_llm.dll / the tensorrt_llm package.
    - MODIFIED and ADDED TensorRT-LLM source files, redistributed under
      tp-engine-patches/ (tensor-parallel transport, hang detection, and
      compressed-tensors int4 loading). Per Apache-2.0 §4(b), each such file
      carries a prominent notice that it was changed by Bare Metal AI, Inc.;
      the TRTLLM_VERSION file records the upstream release these derive from.

  All BareMetalRT modifications and additions to TensorRT-LLM are licensed under
  the Apache License, Version 2.0.

================================================================================
Aider  —  Apache License 2.0
  https://github.com/Aider-AI/aider
  Copyright 2023-2024 Paul Gauthier and Aider contributors
  Full license text: THIRD_PARTY_LICENSES/Aider-Apache-2.0.txt
================================================================================

  daemon/repo_map.py is a MODIFIED derivative of aider/repomap.py (the `RepoMap`
  class: tree-sitter tag extraction + a personalized-PageRank ranking over the
  definition/reference graph + a token-budgeted tree render). The ranking
  algorithm is unchanged; BareMetalRT's modifications (Apache-2.0 §4(b), noted at
  the top of that file) decouple it from the Aider application: Aider-internal
  imports removed, `filter_important_files` inlined from aider/special.py, an
  exact pluggable tokenizer substituted for Aider's sampling estimate, and the
  tag-query path repointed at daemon/repo_map_queries/.

  daemon/repo_map_queries/*.scm are the per-language tree-sitter tag queries
  redistributed from Aider (aider/queries/tree-sitter-language-pack/). Per the
  upstream README carried alongside them (daemon/repo_map_queries/README.md),
  these query files were themselves adapted from the tree-sitter grammar projects
  aggregated by tree-sitter-language-pack, each under its own permissive license
  (MIT / Apache-2.0 / BSD). See that README for the per-grammar source repos.

================================================================================
Runtime dependencies of the repo-map service (installed via pip, not vendored)
================================================================================

  grep-ast                    Apache-2.0   https://github.com/Aider-AI/grep-ast
  tree-sitter                 MIT          https://github.com/tree-sitter/py-tree-sitter
  tree-sitter-language-pack   MIT          https://github.com/Goldziher/tree-sitter-language-pack
  networkx                    BSD-3-Clause https://github.com/networkx/networkx
  diskcache                   Apache-2.0   https://github.com/grantjenks/python-diskcache
  pygments                    BSD-2-Clause https://github.com/pygments/pygments

  The grammar binaries pulled in by tree-sitter-language-pack (tree_sitter_*)
  carry the licenses of their respective upstream tree-sitter grammar projects.

================================================================================
Core inference dependencies (installed via pip at setup — installer/requirements.txt)
================================================================================

  These are not vendored into this tree; the installer pip-installs them into a
  sandboxed environment on the user's machine, where each package's own LICENSE
  and NOTICE files are installed alongside it (in its *.dist-info). Principal
  components and their licenses:

  torch / torchvision / torchaudio   BSD-3-Clause   https://github.com/pytorch/pytorch
  transformers                       Apache-2.0     https://github.com/huggingface/transformers
  tokenizers                         Apache-2.0     https://github.com/huggingface/tokenizers
  numpy                              BSD-3-Clause   https://github.com/numpy/numpy
  fastapi / starlette                MIT            https://github.com/fastapi/fastapi
  uvicorn                            BSD-3-Clause   https://github.com/encode/uvicorn
  pydantic                           MIT            https://github.com/pydantic/pydantic

================================================================================
NVIDIA components (installed via pip at setup — NOT bundled; NVIDIA license terms)
================================================================================

  BareMetalRT does NOT redistribute NVIDIA's CUDA or TensorRT binaries. At install
  time the setup script (installer/install-deps.ps1) installs them via pip from
  their official distribution indexes:
    - TensorRT (tensorrt-cu12)     from NVIDIA's PyPI: https://pypi.nvidia.com
    - CUDA runtime libraries (cudart/cublas/cuDNN/...) as dependencies of the
      PyTorch wheels:              https://download.pytorch.org/whl/cu130
  These components are NVIDIA-proprietary (NOT Apache/MIT). Your use of them is
  governed by NVIDIA's license terms:
    - NVIDIA CUDA Toolkit EULA:    https://docs.nvidia.com/cuda/eula/
    - NVIDIA TensorRT SLA:         https://docs.nvidia.com/deeplearning/tensorrt/sla/
