Skip to content

Commit

Permalink
replacing pytensor-devs for aesara-devs (#6817)
Browse files Browse the repository at this point in the history
* replacing pytensor-devs for aesara-devs

* fix typo

* Update docs/source/learn/core_notebooks/pymc_pytensor.ipynb

Change pytensor hypterlink to "pymc-devs/pytensor"

Co-authored-by: larryshamalama <[email protected]>

---------

Co-authored-by: larryshamalama <[email protected]>
  • Loading branch information
amyoshino and larryshamalama authored Jul 6, 2023
1 parent f67ff8b commit 659f177
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 11 deletions.
77 changes: 71 additions & 6 deletions docs/source/learn/core_notebooks/pymc_pytensor.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pymc/distributions/shape_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def change_specify_shape_size(op, ss, new_size, expand) -> TensorVariable:
if ndim_supp > 0:
new_shapes[-ndim_supp:] = shapes[-ndim_supp:]

# specify_shape has a wrong signature https://github.com/pytensor-devs/pytensor/issues/1164
# specify_shape has a wrong signature https://github.com/aesara-devs/aesara/issues/1164
return pt.specify_shape(new_var, new_shapes) # type: ignore


Expand Down
2 changes: 1 addition & 1 deletion pymc/logprob/rewriting.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def construct_ir_fgraph(
For instance, some `Op`s will be lifted through `MeasurableVariable`\s in
this IR, and the resulting graphs will not be computationally sound,
because they wouldn't produce independent samples when the original graph
would. See https://github.com/pytensor-devs/aeppl/pull/78.
would. See https://github.com/aesara-devs/aeppl/pull/78.
Returns
-------
Expand Down
2 changes: 1 addition & 1 deletion pymc/sampling/jax.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_jaxified_graph(
# JAX sequential optimizer without warnings. We made sure there
# are no mutable input variables, so we only need to check for
# "destroyers". This should be automatically handled by PyTensor
# once https://github.com/pytensor-devs/pytensor/issues/637 is fixed.
# once https://github.com/aesara-devs/aesara/issues/637 is fixed.
fgraph.attach_feature(
Supervisor(
input
Expand Down
2 changes: 1 addition & 1 deletion tests/distributions/test_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ def diracdelta_rng_fn(self, size, c):

@pytest.mark.parametrize("floatX", ["float32", "float64"])
@pytest.mark.xfail(
sys.platform == "win32", reason="https://github.com/pytensor-devs/pytensor/issues/871"
sys.platform == "win32", reason="https://github.com/aesara-devs/aesara/issues/871"
)
def test_dtype(self, floatX):
with pytensor.config.change_flags(floatX=floatX):
Expand Down
2 changes: 1 addition & 1 deletion tests/sampling/test_jax.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def test_deterministic_samples(sampler):

def test_get_jaxified_graph():
# Check that jaxifying a graph does not emit the Supervisor Warning. This test can
# be removed once https://github.com/pytensor-devs/pytensor/issues/637 is sorted.
# be removed once https://github.com/aesara-devs/aesara/issues/637 is sorted.
x = pt.scalar("x")
y = pt.exp(x)
with warnings.catch_warnings():
Expand Down

0 comments on commit 659f177

Please sign in to comment.