-
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
【Hackathon 7th No.28】为 paddle.clip 进行功能增强 #69269
base: develop
Are you sure you want to change the base?
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
为什么我两个的ci都没有跑的? @luotao1 |
@sunzhongkai588 你好,请问为什么我的ci都不跑的,已经一天了 |
0d8a99c
to
81b1c78
Compare
if is_clip_tensor(min) or is_clip_tensor(max): | ||
# min = paddle.full_like(x, min_, x.dtype) if min is None else min | ||
# max = paddle.full_like(x, max_, x.dtype) if max is None else max | ||
min = ( |
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.
这些python层的操作能不能简化下,尽可能在kernel里面处理,kernel里面也能调用kernel、调用广播等各种函数
如果是None与float的组合,目前的逻辑不用动,
如果是None与Tensor的组合,直接往底层kernel里传就行,kernel里目前本身就支持optional的设置
如果是其他类型的组合,直接报错
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.
我试试,但是为什么写了c++方面的测试,但是ci就是检测不出来?我看别人也遇到这个问题
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.
我在github上面问,也没人来解答一下 @zhwesky2010
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.
我在github上面问,也没人来解答一下 @zhwesky2010
开发者你好,感谢你的贡献!由于黑客松是「比赛」性质的活动,研发团队只能提供有限的指导和 review 意见。你的 PR 完成度还有待提高,因此需要你先自行进行修改。
另外,我在 12 月 13 日已经通过邮件联系过你,请查收一下你在 GitHub 上留的邮箱。
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.
抱歉,邮箱有段时间没去看了,那我用算子组合的形式吧,less_than和where,我检查过less_than是有自动广播的
开发者你好,感谢你的参与!由于你的黑客松赛题完成度较高,其PR已被锁定,请尽快完善锁定的PR,并确保在2025年1月3日前完成合入。逾期未合入PR将无法获得奖金发放。 |
4c06f6d
to
9196ed5
Compare
164be97
to
2cfc88a
Compare
3968767
to
caea762
Compare
PR Category
Inference
PR Types
Others
Description
【Hackathon 7th No.28】为 paddle.clip 进行功能增强
PaddlePaddle/docs#6924