Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
51ea1a0b
提交
51ea1a0b
authored
2月 04, 2025
作者:
Brendan Murphy
提交者:
Ricardo Vieira
2月 17, 2025
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added numpy 1.26.* to CI
Remaining tests now run on latest numpy, except for Numba jobs, which need numpy 2.1.0
上级
b7169984
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
28 行增加
和
3 行删除
+28
-3
test.yml
.github/workflows/test.yml
+28
-3
没有找到文件。
.github/workflows/test.yml
浏览文件 @
51ea1a0b
...
...
@@ -65,7 +65,7 @@ jobs:
-
uses
:
pre-commit/action@v3.0.1
test
:
name
:
"
${{
matrix.os
}}
test
py${{
matrix.python-version
}}
:
fast-compile
${{
matrix.fast-compile
}}
:
float32
${{
matrix.float32
}}
:
${{
matrix.part
}}"
name
:
"
${{
matrix.os
}}
test
py${{
matrix.python-version
}}
numpy${{
matrix.numpy-version
}}
:
fast-compile
${{
matrix.fast-compile
}}
:
float32
${{
matrix.float32
}}
:
${{
matrix.part
}}"
needs
:
-
changes
-
style
...
...
@@ -76,6 +76,7 @@ jobs:
matrix
:
os
:
[
"
ubuntu-latest"
]
python-version
:
[
"
3.10"
,
"
3.12"
]
numpy-version
:
[
"
~=1.26.0"
,
"
>=2.0"
]
fast-compile
:
[
0
,
1
]
float32
:
[
0
,
1
]
install-numba
:
[
0
]
...
...
@@ -105,45 +106,68 @@ jobs:
float32
:
1
-
part
:
"
--doctest-modules
pytensor
--ignore=pytensor/misc/check_duplicate_key.py
--ignore=pytensor/link"
fast-compile
:
1
-
numpy-version
:
"
~=1.26.0"
fast-compile
:
1
-
numpy-version
:
"
~=1.26.0"
float32
:
1
-
numpy-version
:
"
~=1.26.0"
python-version
:
"
3.12"
-
numpy-version
:
"
~=1.26.0"
part
:
"
--doctest-modules
pytensor
--ignore=pytensor/misc/check_duplicate_key.py
--ignore=pytensor/link"
include
:
-
install-numba
:
1
os
:
"
ubuntu-latest"
python-version
:
"
3.10"
numpy-version
:
"
~=2.1.0"
fast-compile
:
0
float32
:
0
part
:
"
tests/link/numba"
-
install-numba
:
1
os
:
"
ubuntu-latest"
python-version
:
"
3.12"
numpy-version
:
"
~=2.1.0"
fast-compile
:
0
float32
:
0
part
:
"
tests/link/numba"
-
install-jax
:
1
os
:
"
ubuntu-latest"
python-version
:
"
3.10"
numpy-version
:
"
>=2.0"
fast-compile
:
0
float32
:
0
part
:
"
tests/link/jax"
-
install-jax
:
1
os
:
"
ubuntu-latest"
python-version
:
"
3.12"
numpy-version
:
"
>=2.0"
fast-compile
:
0
float32
:
0
part
:
"
tests/link/jax"
-
install-torch
:
1
os
:
"
ubuntu-latest"
python-version
:
"
3.10"
numpy-version
:
"
>=2.0"
fast-compile
:
0
float32
:
0
part
:
"
tests/link/pytorch"
-
os
:
macos-15
python-version
:
"
3.12"
numpy-version
:
"
>=2.0"
fast-compile
:
0
float32
:
0
install-numba
:
0
install-jax
:
0
install-torch
:
0
part
:
"
tests/tensor/test_blas.py
tests/tensor/test_elemwise.py
tests/tensor/test_math_scipy.py"
-
os
:
"
ubuntu-latest"
python-version
:
"
3.10"
numpy-version
:
"
~=1.26.0"
fast-compile
:
0
float32
:
0
install-numba
:
0
install-jax
:
0
install-torch
:
0
part
:
"
tests/tensor/test_math.py"
steps
:
-
uses
:
actions/checkout@v4
...
...
@@ -174,9 +198,9 @@ jobs:
run
:
|
if [[ $OS == "macos-15" ]]; then
micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython"
numpy
scipy pip graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock libblas=*=*accelerate;
micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython"
"numpy${NUMPY_VERSION}"
scipy pip graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock libblas=*=*accelerate;
else
micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" mkl
numpy
scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock;
micromamba install --yes -q "python~=${PYTHON_VERSION}=*_cpython" mkl
"numpy${NUMPY_VERSION}"
scipy pip mkl-service graphviz cython pytest coverage pytest-cov pytest-benchmark pytest-mock;
fi
if [[ $INSTALL_NUMBA == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" "numba>=0.57"; fi
if [[ $INSTALL_JAX == "1" ]]; then micromamba install --yes -q -c conda-forge "python~=${PYTHON_VERSION}=*_cpython" jax jaxlib numpyro && pip install tensorflow-probability; fi
...
...
@@ -193,6 +217,7 @@ jobs:
fi
env
:
PYTHON_VERSION
:
${{ matrix.python-version }}
NUMPY_VERSION
:
${{ matrix.numpy-version }}
INSTALL_NUMBA
:
${{ matrix.install-numba }}
INSTALL_JAX
:
${{ matrix.install-jax }}
INSTALL_TORCH
:
${{ matrix.install-torch}}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论