-
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
Improve new executor static build #51149
Improve new executor static build #51149
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
… improve-new-executor-static-build
… improve-new-executor-static-build
… improve-new-executor-static-build
… improve-new-executor-static-build
… improve-new-executor-static-build
… improve-new-executor-static-build
… improve-new-executor-static-build
… improve-new-executor-static-build
… improve-new-executor-static-build
… improve-new-executor-static-build
… improve-new-executor-static-build
template void Copy(const DeviceContext& dev_ctx, | ||
const TensorArray& src, | ||
Place dst_place, | ||
bool blocking, | ||
TensorArray* dst); |
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.
需要实例化基类DeviceContext
的接口吗?
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.
实际调用是通过基类DeviceContext
调用。
有部分Context实例化当前还没有场景使用到,这里接口的实例化对齐了TenosrBase
的其它子类,对所有可能涉及的Context
类型都统一做了实例化,后续有新需求时不用额外补充,避免零散化。
paddle/phi/kernels/cpu/eig_kernel.cc
Outdated
kernel->OutputAt(1).SetDataType(phi::DataType::UNDEFINED); | ||
const phi::DataType& dtype = kernel_key.dtype(); | ||
const phi::DataType& out_dtype = | ||
IsComplexType(dtype) ? dtype : ToComplexType(dtype); |
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.
这里为什么没有使用phi::dtype::ToComplex
?
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.
done
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 for change tools/windows/run_unittests.sh
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
paddle/phi/core/selected_rows.h
Custom Device插件模式下引用出错tensor_utils.h出错
也一样 |
@engineer1109 已提PR修复:#52591 |
PR types
Others
PR changes
Others
Describe
Pcard-67003
在PR #50670 新执行器全静态选kernel方案跑通Resnet50和Transformer模型的基础上,本PR对方案做进一步完善,通过在开启全静态选kernel的情况下修复大量的CI单测问题,达到跑通所有CI测试的程度。
部分暂未做修复的特殊场景当前通过退化回“半静态”选kernel处理,包括:
后续全静态选kernel将在进行更多模型测试之后默认开启。