Eldric Nexus F1
Copyright 2026 core Informationstechnologie, Juergen Paulhart

This product includes software developed by NXAI GmbH.

--------------------------------------------------------------------------------
Third-party code redistributed in this package
--------------------------------------------------------------------------------

src/eldric_nexus_f1/_vendor/tirex2/
    Origin:  TiRex-2, https://github.com/NX-AI/tirex-2, release v0.2.1
    Author:  NXAI GmbH
    License: Apache License 2.0 (full text in _vendor/LICENSE-Apache-2.0)

This is the model *implementation* only. The trained weights shipped with this
package (eldric-nexus-f1-model.ckpt) are NOT from NX-AI: they were pretrained
from random initialisation on our own corpus and are our own work. What we
redistribute from NX-AI is the architecture code that reads them.

Why the code is bundled rather than declared as a dependency: the `tirex2`
distribution is not published on PyPI (measured 2026-09-13: HTTP 404). Declaring
it would force every installation through `git+https://github.com/...`, i.e.
require git and GitHub reachability at install time, and would collide with a
separately installed copy of tirex2 on the same machine. Bundling keeps
`pip install` a pure PyPI operation.

Statement of changes, as required by Apache-2.0 section 4(b)
------------------------------------------------------------
The bundled files are byte-for-byte the upstream v0.2.1 sources except for the
two mechanical transformations below, both applied by the script `vendoriere.sh`
in this package's source tree, so that they can be reproduced and audited:

  1. Import prefix rewritten so the bundled copy imports itself and never the
     top-level `tirex2` package:
         from tirex2.X   ->  from eldric_nexus_f1._vendor.tirex2.X
         import tirex2.X ->  import eldric_nexus_f1._vendor.tirex2.X
     (Upstream uses relative imports almost throughout, so this affected very
     few lines. No other line was touched.)

  2. Two files removed, `tirex2/plotting.py` and `tirex2/demo.py`. They are
     demonstration code and import matplotlib, plotly and fev, none of which is
     reachable from `tirex2/__init__.py`. Shipping files that raise ImportError
     when touched would be a trap for the reader.

No functional change was made to the model implementation. The evidence for that
claim is not this text but `pruef/pruef_bitgleich.py`, which runs the same
checkpoint through the bundled copy and through an upstream-installed `tirex2`
and requires the outputs to be bit-identical.

--------------------------------------------------------------------------------
Runtime dependencies (installed from PyPI, not bundled)
--------------------------------------------------------------------------------
    torch      BSD-3-Clause
    numpy      BSD-3-Clause
    einops     MIT
    flashrnn   Apache-2.0 (NXAI GmbH)
    xlstm      Apache-2.0 (NXAI GmbH)
    PyYAML     MIT
