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

Needs help, how to write trace files to remote storage #1028

Open
staugust opened this issue Jan 16, 2025 · 1 comment
Open

Needs help, how to write trace files to remote storage #1028

staugust opened this issue Jan 16, 2025 · 1 comment

Comments

@staugust
Copy link
Contributor

Recently, we have deployed dynolog in our gpu cluster to collect trace files via kineto on-demand profiling. It needs extra efforts to collect trace files dumped to local storage via kineto for distributed applications. We saw that kineto supports dumping traces files to remote storage in https://github.com/facebookincubator/dynolog/blob/main/docs/pytorch_profiler.md, which is exactly what we want. But there's no other docs or tutorials introduce how to use remote storage. Could you provide an introduction or a tip on how to configure kineto to write trace files to remote storage?

@sraikund16
Copy link
Contributor

Hi, sorry I missed this earlier. The easiest way to dump files to a remote storage would be to create a logger that inherits ChromeTraceLogger and wraps up the parent finalizeTrace with a function that also uploads it to the desired remote path

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

No branches or pull requests

2 participants