The editable installation is convenient when modifying methods or running the included notebooks. A non-editable installation needs no permanent checkout:
This pins Trex, not its dependencies. Record the Python, Torch, CUDA/driver (if used), NumPy and SciPy versions too. Current version metadata remains 0.1.0, so a Git revision identifies development snapshots more precisely than that version string.
Runtime and optional dependencies
The core installation includes Torch, NumPy, SciPy, pandas and pytorch-minimize. Many methods use Torch throughout; GEL and score estimation also use CPU-side numerical routines. Installing Trex does not turn every routine into a GPU kernel.
# Independent estimator references and testspython-m pip install -e'.[test]'# Quarto execution and API documentation toolspython-m pip install -e'.[docs]'
The Quarto CLI is a separate installation. Large-model generation uses optional Transformers/PEFT/quantization tooling described in its guide; those dependencies and model weights are not required for regression, choice or panel estimation.
The executable guides use device="cpu" deliberately, so they do not require a GPU. This does not imply CPU and CUDA are equally fast or bitwise identical. See numerical conventions before moving a workload between devices.