Skip to content
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

[CodeStyle][Ruff][BUAA][A-[1-4]] Fix ruff Q003 diagnostic for 4 files in paddle/fluid/eager/auto_code_generator/ #67300

Merged
merged 15 commits into from
Aug 12, 2024

Conversation

Marcusryz
Copy link
Contributor

PR Category

User Experience

PR Types

Devs

Description

修复如下文件 Q003 的 Ruff 规则:

  • paddle/fluid/eager/auto_code_generator/generate_file_structures.py

  • paddle/fluid/eager/auto_code_generator/generator/codegen_utils.py

  • paddle/fluid/eager/auto_code_generator/generator/eager_gen.py

  • paddle/fluid/eager/auto_code_generator/generator/python_c_gen.py

Related Links

@gouzil

Copy link

paddle-bot bot commented Aug 11, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@Marcusryz
Copy link
Contributor Author

不好意思老师,我之前在 develop 分支 commit 过,现在切换分支了,develop 分支的 commit 却还在,我不知道怎么消除之前的 commit,您要不从 Refine A-1-4 这个 commit 开始看 @gouzil @SigureMo

@SigureMo
Copy link
Member

我不知道怎么消除之前的 commit

git reset --hard HEAD~12     # 数量自己调,看看是否仍有自己的 commit
git push --force-with-lease  # 消除掉远程 develop 的 commit

之后不要再修改 develop 分支,develop 分支只做同步用

Copy link
Member

@SigureMo SigureMo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMeow 🐾

@Marcusryz
Copy link
Contributor Author

好的

@paddle-bot paddle-bot bot added the contributor External developers label Aug 11, 2024
@luotao1 luotao1 merged commit ce8f1aa into PaddlePaddle:develop Aug 12, 2024
31 checks passed
Jeff114514 pushed a commit to Jeff114514/Paddle that referenced this pull request Aug 14, 2024
…es in `paddle/fluid/eager/auto_code_generator/` (PaddlePaddle#67300)

* Add lerp CINN.

* update

* Refine lerp op CINN.

* Refine code.

* Refine code.

* Refine code.

* Refine A-1-4

* Apply suggestions from code review

---------

Co-authored-by: Nyakku Shigure <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants