Skip to content

Commit 218a5fe

Browse files
Resolve merge conflict
2 parents 7d25118 + 58fec45 commit 218a5fe

32 files changed

+264
-1836
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
)$
2323
- id: check-merge-conflict
2424
- repo: https://github.com/astral-sh/ruff-pre-commit
25-
rev: v0.5.2
25+
rev: v0.5.4
2626
hooks:
2727
- id: ruff
2828
args: ["--fix", "--output-format=full"]

doc/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ to extend PyTensor, please feel free to ask.
157157
install
158158
tutorial/index
159159

160-
.. _LISA: https://mila.umontreal.ca/
160+
.. _LISA: https://mila.quebec/en
161161
.. _Greek mathematician: http://en.wikipedia.org/wiki/Theano_(mathematician)
162-
.. _numpy: http://numpy.scipy.org/
162+
.. _numpy: https://numpy.org/
163163
.. _BLAS: http://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms
164164

165165
.. _sympy: http://www.sympy.org/

doc/library/config.rst

Lines changed: 1 addition & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -103,14 +103,6 @@ import ``pytensor`` and print the config variable, as in:
103103

104104
String value: either ``'cpu'``
105105

106-
.. attribute:: force_device
107-
108-
Bool value: either ``True`` or ``False``
109-
110-
Default: ``False``
111-
112-
This flag's value cannot be modified during the program execution.
113-
114106
.. attribute:: print_active_device
115107

116108
Bool value: either ``True`` or ``False``
@@ -139,16 +131,6 @@ import ``pytensor`` and print the config variable, as in:
139131
equal to ``float64`` is created.
140132
This can be used to help find upcasts to ``float64`` in user code.
141133

142-
.. attribute:: deterministic
143-
144-
String value: either ``'default'``, ``'more'``
145-
146-
Default: ``'default'``
147-
148-
If ``more``, sometimes PyTensor will select :class:`Op` implementations that
149-
are more "deterministic", but slower. See the ``dnn.conv.algo*``
150-
flags for more cases.
151-
152134
.. attribute:: allow_gc
153135

154136
Bool value: either ``True`` or ``False``
@@ -373,7 +355,7 @@ import ``pytensor`` and print the config variable, as in:
373355

374356
When ``True``, ignore the first call to an PyTensor function while profiling.
375357

376-
.. attribute:: config.lib__amblibm
358+
.. attribute:: config.lib__amdlibm
377359

378360
Bool value: either ``True`` or ``False``
379361

@@ -412,16 +394,6 @@ import ``pytensor`` and print the config variable, as in:
412394
ignore it (i.e. ``'ignore'``).
413395
We suggest never using ``'ignore'`` except during testing.
414396

415-
.. attribute:: assert_no_cpu_op
416-
417-
String value: ``'ignore'`` or ``'warn'`` or ``'raise'`` or ``'pdb'``
418-
419-
Default: ``'ignore'``
420-
421-
If there is a CPU :class:`Op` in the computational graph, depending on its value,
422-
this flag can either raise a warning, an exception or drop into the frame
423-
with ``pdb``.
424-
425397
.. attribute:: on_shape_error
426398

427399
String value: ``'warn'`` or ``'raise'``
@@ -797,18 +769,3 @@ import ``pytensor`` and print the config variable, as in:
797769
The verbosity level of the meta-rewriter: ``0`` for silent, ``1`` to only
798770
warn when PyTensor cannot meta-rewrite an :class:`Op`, ``2`` for full output (e.g.
799771
timings and the rewrites selected).
800-
801-
802-
.. attribute:: config.metaopt__optimizer_excluding
803-
804-
Default: ``""``
805-
806-
A list of rewrite tags that we don't want included in the meta-rewriter.
807-
Multiple tags are separate by ``':'``.
808-
809-
.. attribute:: config.metaopt__optimizer_including
810-
811-
Default: ``""``
812-
813-
A list of rewriter tags to be included during meta-rewriting.
814-
Multiple tags are separate by ``':'``.

doc/links.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,18 +39,18 @@ This is a sort of memo for developers and would-be developers.
3939

4040
.. _git: http://git-scm.com/
4141
.. _pytest: http://docs.pytest.org/en/latest/
42-
.. _numpy: http://numpy.scipy.org/
42+
.. _numpy: https://numpy.org/
4343
.. _python: http://www.python.org
4444
.. _scipy: http://scipy.org/
4545

4646
.. _autodiff: http://www.autodiff.org
47-
.. _boost.python: http://www.boost.org/doc/libs/1_38_0/libs/python/doc/index.html
47+
.. _boost.python: https://www.boost.org/doc/libs/1_85_0/libs/python/doc/html/index.html
4848
.. _cython: http://www.cython.org/
4949
.. _liboil: http://liboil.freedesktop.org/wiki/
5050
.. _llvm: http://llvm.org/
51-
.. _networkx: http://networkx.lanl.gov/
52-
.. _pypy: http://codespeak.net/pypy/dist/pypy/doc/
51+
.. _networkx: https://networkx.org/
52+
.. _pypy: https://doc.pypy.org/en/latest/
5353
.. _swig: http://www.swig.org/
54-
.. _unpython: http://code.google.com/p/unpython/
55-
.. _pycppad: http://www.seanet.com/~bradbell/pycppad/index.xml
56-
.. _shedskin: http://shed-skin.blogspot.com/
54+
.. _unpython: https://code.google.com/archive/p/unpython/
55+
.. _pycppad: https://github.com/Simple-Robotics/pycppad
56+
.. _shedskin: https://shedskin.github.io/shedskin/

doc/sandbox/ccodegen.rst

Lines changed: 0 additions & 255 deletions
This file was deleted.

doc/sandbox/compilation.rst

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)