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

[Fea] Support nvtx profiling #825

Merged
merged 6 commits into from
Mar 29, 2024

Conversation

HydrogenSulfate
Copy link
Collaborator

@HydrogenSulfate HydrogenSulfate commented Mar 28, 2024

PR types

New features

PR changes

Others

Describe

  1. 支持基于nvtx的性能分析功能(LBFGS暂未支持),并添加使用文档
  2. printertrainer统一更名为solver,减少歧义

Copy link

paddle-bot bot commented Mar 28, 2024

Thanks for your contribution!

@HydrogenSulfate HydrogenSulfate force-pushed the support_nvtx branch 2 times, most recently from 505429b to f8c57f3 Compare March 29, 2024 05:34

开发机上下载 linux nsight-system 软件:nsight-systems/2023.4.1,并将 nsight 添加到环境变量 `PATH` 中:

执行:`PATH=/path/to/nsight-systems/2023.4.1/bin:$PATH`,同时在 windows 机器上安装**相同版本**的 nsight-system 软件。
Copy link
Collaborator

Choose a reason for hiding this comment

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

Mac机器和带图形界面机器的Linux系统还不能支持么

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Mac机器和带图形界面机器的Linux系统还不能支持么

暂时不支持Mac(没机器没试过),带图形界面的Linux如果能安装nsight,那步骤是一样的,这里只是因为我自己用的是windows系统的linux nsight-system

Copy link
Collaborator

@zhiminzhang0830 zhiminzhang0830 left a comment

Choose a reason for hiding this comment

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

LGTM

@zhiminzhang0830 zhiminzhang0830 merged commit 090bff4 into PaddlePaddle:develop Mar 29, 2024
2 of 4 checks passed
@HydrogenSulfate HydrogenSulfate deleted the support_nvtx branch March 29, 2024 07:56
huohuohuohuohuo123 pushed a commit to huohuohuohuohuo123/PaddleScience that referenced this pull request Aug 12, 2024
* support nvtx profiling via NVTX=1

* rename trainer to solver

* add user guide for NVTX

* refine code of paddle.framework.core and add cache for 3 context_manager of Solver

* update nsys chapter in user_guide

* fix solver.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants