提交 1d05e941 authored 作者: Brandon T. Willard's avatar Brandon T. Willard

Use mamba instead of conda

上级 56f03d41
...@@ -108,6 +108,9 @@ jobs: ...@@ -108,6 +108,9 @@ jobs:
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v2 uses: conda-incubator/setup-miniconda@v2
with: with:
mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
auto-update-conda: true auto-update-conda: true
...@@ -125,10 +128,10 @@ jobs: ...@@ -125,10 +128,10 @@ jobs:
- name: Install dependencies - name: Install dependencies
shell: bash -l {0} shell: bash -l {0}
run: | run: |
conda install --yes -q mkl numpy scipy pip mkl-service graphviz cython libgpuarray pygpu mamba install --yes -q mkl numpy scipy pip mkl-service graphviz cython libgpuarray pygpu
if [[ "$PYTHON_VERSION" != "3.6" ]]; then conda install --yes -q -c conda-forge jax jaxlib; fi if [[ "$PYTHON_VERSION" != "3.6" ]]; then mamba install --yes -q -c conda-forge jax jaxlib; fi
pip install -q -r requirements.txt pip install -q -r requirements.txt
conda list && pip freeze mamba list && pip freeze
python -c 'import theano; print(theano.config.__str__(print_doc=False))' python -c 'import theano; print(theano.config.__str__(print_doc=False))'
python -c 'import theano; assert(theano.config.blas.ldflags != "")' python -c 'import theano; assert(theano.config.blas.ldflags != "")'
env: env:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论