-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Add] Paddle 代码 CI 中引入 xdoctest 检查 #55295
Changes from 2 commits
688a0ef
9a8ebdf
7a943f1
a25b27a
eaa65d4
f6fd132
f394a4d
0629f84
961b9a3
9507ece
e5242af
a22ea53
2d2c6d3
99c1c32
bbd3e01
139d982
14e77a2
0eb1468
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ decorator | |
astor | ||
paddle_bfloat==0.1.7 | ||
opt_einsum==3.3.0 | ||
xdoctest | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
不合适,requirements.txt 会在 setup.py 里用到,作为 paddle 的「依赖项」,用户在安装时候会自动安装 相比于「依赖项」,xdoctest 更类似于「开发依赖项」,不过我们目前是没有一个统一的地方来添加这个的(大多数社区规范是写一个 目前可以添加到流水线中,或许以后可以直接放在 Docker 里 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 刚和 @luotao1 讨论了一下,这个还是放在 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OK~ 只是 Paddle build 的时候可能也会调用这个代码检查,感觉放哪儿都不太合适~ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
是 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 😂 嗯 https://github.com/PaddlePaddle/Paddle/blob/develop/python/unittest_py/requirements.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是特意用的错误例子还是?0D Tensor 应该就是 shape=[] 的,2.5 应该就已经支持 0D Tensor 了,你那里用的是 2.4 嘛?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
忘了更新 Paddle 了 ...........................................