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

[Typing][B-35] Add type annotations for python/paddle/amp/debugging.py #66127

Merged
merged 5 commits into from
Jul 21, 2024

Conversation

enkilee
Copy link
Contributor

@enkilee enkilee commented Jul 17, 2024

PR Category

User Experience

PR Types

Improvements

Description

Copy link

paddle-bot bot commented Jul 17, 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.

@paddle-bot paddle-bot bot added the contributor External developers label Jul 17, 2024
@luotao1 luotao1 added the HappyOpenSource 快乐开源活动issue与PR label Jul 17, 2024
Copy link
Contributor

@megemini megemini left a comment

Choose a reason for hiding this comment

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

不清楚为啥 CI 挂了 ... ...

贴一下错误信息:

2024-07-17 17:39:41 >>> 1 sample codes ran timeout or error in env: {'gpu', 'cpu'}
2024-07-17 17:39:41 paddle.amp.debugging.enable_operator_stats_collection:1, running time: 10.000s


2024-07-17 17:39:45 0   paddle::pybind::eager_api_conv2d(_object*, _object*, _object*)
2024-07-17 17:39:45 1   conv2d_ad_func(paddle::Tensor const&, paddle::Tensor const&, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::string, std::vector<int, std::allocator<int> >, int, std::string)
2024-07-17 17:39:45 2   conv2d_ad_func(paddle::Tensor const&, paddle::Tensor const&, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::string, std::vector<int, std::allocator<int> >, int, std::string)
2024-07-17 17:39:45 3   paddle::experimental::conv2d(paddle::Tensor const&, paddle::Tensor const&, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, std::string const&, std::vector<int, std::allocator<int> > const&, int, std::string const&)
2024-07-17 17:39:45 4   void phi::ConvCudnnKernel<phi::dtype::float16, phi::GPUContext>(phi::GPUContext const&, phi::DenseTensor const&, phi::DenseTensor const&, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, std::string const&, std::vector<int, std::allocator<int> > const&, int, std::string const&, phi::DenseTensor*)
2024-07-17 17:39:45 5   void phi::ConvCudnnKernelImplV7<phi::dtype::float16, phi::GPUContext>(phi::DenseTensor const*, phi::DenseTensor const*, phi::GPUContext const&, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, phi::backends::gpu::DataLayout, phi::backends::gpu::DataLayout, bool, bool, int, phi::DenseTensor*)
2024-07-17 17:39:45 6   std::_Function_handler<void (void*), phi::ConvRunner<phi::dtype::float16, (phi::ConvKind)1>::Apply(phi::GPUContext const&, phi::ConvArgsBase<cudnnContext*, cudnnDataType_t> const&, phi::SearchResult<cudnnConvolutionFwdAlgo_t> const&, phi::dtype::float16 const*, phi::dtype::float16 const*, phi::dtype::float16*, int, int, int, int, unsigned long, phi::DnnWorkspaceHandle*, bool)::{lambda(void*)#1}>::_M_invoke(std::_Any_data const&, void*&&)
2024-07-17 17:39:45 
2024-07-17 17:39:45 ----------------------
2024-07-17 17:39:45 Error Message Summary:
2024-07-17 17:39:45 ----------------------
2024-07-17 17:39:45 FatalError: `Termination signal` is detected by the operating system.
2024-07-17 17:39:45   [TimeInfo: *** Aborted at 1721209181 (unix time) try "date -d @1721209181" if you are using GNU date ***]
2024-07-17 17:39:45   [SignalInfo: *** SIGTERM (@0xa6) received by PID 277 (TID 0x7fa9450ba740) from PID 166 ***]
2024-07-17 17:39:45  

merge 一下重新跑跑?

python/paddle/amp/debugging.py Outdated Show resolved Hide resolved
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 🐾

@SigureMo SigureMo merged commit d294244 into PaddlePaddle:develop Jul 21, 2024
31 checks passed
lixcli pushed a commit to lixcli/Paddle that referenced this pull request Jul 22, 2024
…py` (PaddlePaddle#66127)


---------

Co-authored-by: SigureMo <sigure.qaq@gmail.com>
inaomIIsfarell pushed a commit to inaomIIsfarell/Paddle that referenced this pull request Jul 31, 2024
…py` (PaddlePaddle#66127)


---------

Co-authored-by: SigureMo <sigure.qaq@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource 快乐开源活动issue与PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants