From 8971c22a54bd9ffc1bdf5d5a7bc2e065b0bbee0d Mon Sep 17 00:00:00 2001 From: mrava87 Date: Sun, 1 Dec 2024 21:36:57 +0300 Subject: [PATCH] doc: add pytensor to doc and warning about osx error --- docs/source/api/index.rst | 1 + docs/source/installation.rst | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/docs/source/api/index.rst b/docs/source/api/index.rst index da9beb36..0c23cf9a 100755 --- a/docs/source/api/index.rst +++ b/docs/source/api/index.rst @@ -28,6 +28,7 @@ Templates LinearOperator FunctionOperator MemoizeOperator + PyTensorOperator TorchOperator JaxOperator diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 800b1092..c0eff42d 100755 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -456,6 +456,10 @@ or via ``pip`` with .. note:: PyTensor does not support NumPy 2 yet, so make sure you use NumPy 1.x with PyTensor and PyMC. +.. note:: + OSX users may experience a ``CompileError`` error when using PyTensor. This can be solved by adding + ``pytensor.config.gcc__cxxflags = "-Wno-c++11-narrowing"`` after ``import pytensor``. + PyWavelets ---------- `PyWavelets `_ is used to implement the wavelet operators.