-
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
在文档中统一静态图模式与动态图模式的英文翻译 #49170
在文档中统一静态图模式与动态图模式的英文翻译 #49170
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
✅ This PR's description meets the template requirements! |
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.
LGTM
@sanbuphy codestyle没过,辛苦重新跑一下pre-commit |
请问pre commit是什么标准的呀~ 我去泡一下 |
详见 PR-CI-Codestyle-Check 流水线,按照说明跑一下就好
里面也有文档的链接 UPDATE:才发现超过 100 个文件了,所以 log 没有给出自动修改所有文件的命令……我来整一下吧~ |
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.
LGTM~~~
CodeStyle 给你改好啦,你可以先按照上面的步骤安装配置好 pre-commit,这样下次贡献的时候就不会出现这样的问题啦~
明白,非常感谢~ 圣诞快乐。 |
似乎出现了一些冲突 |
@@ -206,7 +206,8 @@ def __init__( | |||
elif core.is_compiled_with_cuda(): | |||
self._device = "gpu" | |||
assert self._device, "Only gpu and npu are supported." | |||
assert not _non_static_mode(), "Only static graph mode is supported." | |||
|
|||
assert not in_dygraph_mode(), "Only static mode is supported." |
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.
这里解决冲突后是不是 static graph mode 也恢复了?可以解决完冲突后再修改一下~
fd96ebe
(#49170) 里的三个改动里有两个貌似都有这个问题,可以改一下~
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.
收到,已修改完毕
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.
嗯,可以等 CI 过了疯狂 @Ligoml
[doge],这个 PR 改动挺多的,蛮容易冲突的
我记得之前有几个 CI 有问题,Coverage 覆盖率与本 PR 修改无关应可豁免,Static-Check 和 APPROVAL 等人来 approve 即可,其他的一般 re-run 下就可以了毕竟本 PR 没有修改任何逻辑
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.
对。。万一别人改了又要重新CI
QWQ 我等跑完了艾特一下
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.
嗯,可以等 CI 过了疯狂
@Ligoml
[doge],这个 PR 改动挺多的,蛮容易冲突的
栓Q
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.
这个 PR 最好不要用 test=document_fix
吧,因为改的位置挺多的,不一定全是文档,最好把所有 CI 跑一下吧
CINN、OP-benchmark、Static-Check 三条流水线可以手动 re-run 下 |
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.
LGTM
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.
LGTM
@tianshuo78520a 请帮忙豁免一下PR-CI-Coverage和PR-CI-Static-Check,单测覆盖率和示例代码挂掉都不是这个pr引入的,示例代码属于fluid目录,近期应该会有相关同学清理 |
PR types
others
PR changes
others
Describe
others
主要修改了静态图的static mode 的翻译