Skip to content

Commit

Permalink
Rename Theano to Aesara
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwillard committed Jan 29, 2021
1 parent 8b28256 commit 02a0c59
Show file tree
Hide file tree
Showing 697 changed files with 10,837 additions and 28,661 deletions.
42 changes: 0 additions & 42 deletions .appveyor.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
theano/_version.py export-subst
aesara/_version.py export-subst
8 changes: 3 additions & 5 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
If you have any questions, please ask the [theano-user mailing list](https://groups.google.com/forum/#!forum/theano-users) or [stackoverflow](http://stackoverflow.com/) (using the "theano" tag) first.

## Description of your problem or feature request

**Please provide a minimal, self-contained, and reproducible example.**
Expand All @@ -17,8 +15,8 @@ If you have any questions, please ask the [theano-user mailing list](https://gro

## Versions and main components

* Theano version:
* Theano config (`python -c "import theano; print(theano.config)"`)
* Aesara version:
* Aesara config (`python -c "import aesara; print(aesara.config)"`)
* Python version:
* Operating system:
* How did you install Theano: (conda/pip)
* How did you install Aesara: (conda/pip)
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
mkdir -p test-sdist
cd test-sdist
python -m venv venv-sdist
venv-sdist/bin/python -m pip install ../dist/Theano-PyMC-*.tar.gz
venv-sdist/bin/python -c "import theano;print(theano.__version__)"
venv-sdist/bin/python -m pip install ../dist/aesara-*.tar.gz
venv-sdist/bin/python -c "import aesara;print(aesara.__version__)"
- uses: actions/upload-artifact@v2
with:
name: artifact
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
filters: |
python: &python
- 'theano/**/*.py'
- 'aesara/**/*.py'
- 'tests/**/*.py'
- '*.py'
src:
Expand Down Expand Up @@ -120,18 +120,18 @@ jobs:
if [[ "$PYTHON_VERSION" != "3.6" ]]; then mamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" jax jaxlib; fi
pip install -q -r requirements.txt
mamba list && pip freeze
python -c 'import theano; print(theano.config.__str__(print_doc=False))'
python -c 'import theano; assert(theano.config.blas__ldflags != "")'
python -c 'import aesara; print(aesara.config.__str__(print_doc=False))'
python -c 'import aesara; assert(aesara.config.blas__ldflags != "")'
env:
PYTHON_VERSION: ${{ matrix.python-version }}

- name: Run tests
shell: bash -l {0}
run: |
if [[ $FAST_COMPILE == "1" ]]; then export THEANO_FLAGS=$THEANO_FLAGS,mode=FAST_COMPILE; fi
if [[ $FLOAT32 == "1" ]]; then export THEANO_FLAGS=$THEANO_FLAGS,floatX=float32; fi
export THEANO_FLAGS=$THEANO_FLAGS,warn__ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc__cxxflags=-pipe
python -m pytest -x -r A --verbose --runslow --cov=theano/ --cov-report=xml:coverage/coverage-${MATRIX_ID}.xml --no-cov-on-fail $PART
if [[ $FAST_COMPILE == "1" ]]; then export AESARA_FLAGS=$AESARA_FLAGS,mode=FAST_COMPILE; fi
if [[ $FLOAT32 == "1" ]]; then export AESARA_FLAGS=$AESARA_FLAGS,floatX=float32; fi
export AESARA_FLAGS=$AESARA_FLAGS,warn__ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc__cxxflags=-pipe
python -m pytest -x -r A --verbose --runslow --cov=aesara/ --cov-report=xml:coverage/coverage-${MATRIX_ID}.xml --no-cov-on-fail $PART
env:
MATRIX_ID: ${{ steps.matrix-id.outputs.id }}
MKL_THREADING_LAYER: GNU
Expand Down
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ doc/indexes/typelist.txt
html
pdf
setuptools-*.egg
theano/generated_version.py
theano/generated_version.py.out
aesara/generated_version.py
aesara/generated_version.py.out
distribute-*.egg
distribute-*.tar.gz
Theano.suo
Aesara.suo
.ipynb_checkpoints
.pydevproject
.ropeproject
Expand All @@ -44,5 +44,5 @@ core
.mypy_cache/
/htmlcov/

theano-venv/
aesara-venv/
/notebooks/Sandbox*
Loading

0 comments on commit 02a0c59

Please sign in to comment.