Skip to content

Commit 8971c22

Browse files
committed
doc: add pytensor to doc and warning about osx error
1 parent 8d9def3 commit 8971c22

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

docs/source/api/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Templates
2828
LinearOperator
2929
FunctionOperator
3030
MemoizeOperator
31+
PyTensorOperator
3132
TorchOperator
3233
JaxOperator
3334

docs/source/installation.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,10 @@ or via ``pip`` with
456456
.. note::
457457
PyTensor does not support NumPy 2 yet, so make sure you use NumPy 1.x with PyTensor and PyMC.
458458

459+
.. note::
460+
OSX users may experience a ``CompileError`` error when using PyTensor. This can be solved by adding
461+
``pytensor.config.gcc__cxxflags = "-Wno-c++11-narrowing"`` after ``import pytensor``.
462+
459463
PyWavelets
460464
----------
461465
`PyWavelets <https://pywavelets.readthedocs.io/en/latest/>`_ is used to implement the wavelet operators.

0 commit comments

Comments
 (0)